mirror of
https://github.com/discourse/discourse.git
synced 2025-01-22 21:37:30 +08:00
DEV: Setup deprecation workflow earlier (#30768)
In 0ed4b09527
, this code was moved into
app.js, which means it actually ends up running after all the other
imports have been completed. That's too late, and some deprecations are
triggered before that.
This commit moves `setupDeprecationWorkflow` back into its own module,
with a 'side effect only' import from `app.js`.
This commit is contained in:
parent
912b002dcc
commit
0fcb832244
|
@ -1,7 +1,4 @@
|
|||
import setupDeprecationWorkflow from "ember-cli-deprecation-workflow";
|
||||
import DEPRECATION_WORKFLOW from "./deprecation-workflow";
|
||||
setupDeprecationWorkflow({ workflow: DEPRECATION_WORKFLOW });
|
||||
|
||||
import "./setup-deprecation-workflow";
|
||||
import "decorator-transforms/globals";
|
||||
import "./loader-shims";
|
||||
import "./discourse-common-loader-shims";
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
import setupDeprecationWorkflow from "ember-cli-deprecation-workflow";
|
||||
import DEPRECATION_WORKFLOW from "./deprecation-workflow";
|
||||
|
||||
setupDeprecationWorkflow({ workflow: DEPRECATION_WORKFLOW });
|
Loading…
Reference in New Issue
Block a user