From f712af3962442527c7eff6848d4a4ee9698b886e Mon Sep 17 00:00:00 2001 From: Jonathan Johnson Date: Thu, 22 Aug 2024 12:35:57 -0700 Subject: [PATCH] Enable Sourcemaps for Embroider The old config wasn't working anymore, we need to configure embroider specifically to emit the source maps that we need for sentry. --- packages/frontend/ember-cli-build.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/frontend/ember-cli-build.js b/packages/frontend/ember-cli-build.js index 1c96a05501..a68f0e8221 100644 --- a/packages/frontend/ember-cli-build.js +++ b/packages/frontend/ember-cli-build.js @@ -16,9 +16,6 @@ module.exports = async function (defaults) { fingerprint: { extensions: broccoliAssetRevDefaults.extensions.concat(['webmanifest', 'svg']), }, - sourcemaps: { - enabled: true, - }, emberData: { compatWith: '5.2', }, @@ -107,6 +104,7 @@ module.exports = async function (defaults) { packagerOptions: { webpackConfig: { plugins: [new RetryChunkLoadPlugin() /*, new BundleAnalyzerPlugin()*/], + devtool: 'source-map', optimization: { minimize: true, minimizer: [