Skip to content

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

DEV: Enable ember-template-imports sourcemaps (#30825)

David Taylor33899745639c
diff --git a/app/assets/javascripts/discourse/ember-cli-build.js b/app/assets/javascripts/discourse/ember-cli-build.js
index c29022a7878..dd1cfaf6368 100644
--- a/app/assets/javascripts/discourse/ember-cli-build.js
+++ b/app/assets/javascripts/discourse/ember-cli-build.js
@@ -37,6 +37,9 @@ module.exports = function (defaults) {
"ember-qunit": {
insertContentForTestBody: false,
},
+ "ember-template-imports": {
+ inline_source_map: true,
+ },
sourcemaps: {
// There seems to be a bug with broccoli-concat when sourcemaps are disabled
// that causes the `app.import` statements below to fail in production mode.