Skip to content

Commit

Permalink
Enable Sourcemaps for Embroider
Browse files Browse the repository at this point in the history
The old config wasn't working anymore, we need to configure embroider
specifically to emit the source maps that we need for sentry.
  • Loading branch information
jrjohnson committed Aug 22, 2024
1 parent 72cbaa7 commit f712af3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/frontend/ember-cli-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ module.exports = async function (defaults) {
fingerprint: {
extensions: broccoliAssetRevDefaults.extensions.concat(['webmanifest', 'svg']),
},
sourcemaps: {
enabled: true,
},
emberData: {
compatWith: '5.2',
},
Expand Down Expand Up @@ -107,6 +104,7 @@ module.exports = async function (defaults) {
packagerOptions: {
webpackConfig: {
plugins: [new RetryChunkLoadPlugin() /*, new BundleAnalyzerPlugin()*/],
devtool: 'source-map',
optimization: {
minimize: true,
minimizer: [
Expand Down

0 comments on commit f712af3

Please sign in to comment.