Skip to content

A platform for community discussion. Free, open, simple.

DEV: Enable Embroider build by default (#23685)

David Taylorb72ed3cb38d5
diff --git a/app/assets/javascripts/discourse/ember-cli-build.js b/app/assets/javascripts/discourse/ember-cli-build.js
index fc62448d5df..e22b64adb45 100644
--- a/app/assets/javascripts/discourse/ember-cli-build.js
+++ b/app/assets/javascripts/discourse/ember-cli-build.js
@@ -22,7 +22,7 @@ module.exports = function (defaults) {
DeprecationSilencer.silence(console, "warn");
DeprecationSilencer.silence(defaults.project.ui, "writeWarnLine");
- const isEmbroider = process.env.USE_EMBROIDER === "1";
+ const isEmbroider = process.env.USE_EMBROIDER !== "0";
const isProduction = EmberApp.env().includes("production");
// This is more or less the same as the one in @embroider/test-setup