Skip to content

Commit

Permalink
Merge pull request #8131 from jrjohnson/sourcemaps-prod-only
Browse files Browse the repository at this point in the history
Only Build Good Sourcemaps in Production
  • Loading branch information
stopfstedt authored Sep 11, 2024
2 parents e5aaa0f + 690fda9 commit ff358e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/frontend/ember-cli-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ module.exports = async function (defaults) {
packagerOptions: {
webpackConfig: {
plugins: [new RetryChunkLoadPlugin() /*, new BundleAnalyzerPlugin()*/],
devtool: 'source-map',
devtool: env === 'production' ? 'source-map' : 'eval',
optimization: {
minimize: true,
minimizer: [
Expand Down

0 comments on commit ff358e6

Please sign in to comment.