Skip to content

Commit

Permalink
fix: removes prod source maps
Browse files Browse the repository at this point in the history
  • Loading branch information
jmikrut committed Dec 30, 2020
1 parent 5a45e60 commit eeea06d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webpack/getProdConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default (payloadConfig: Config): Configuration => {
chunkFilename: '[name].[chunkhash].js',
},
mode: 'production',
devtool: 'source-map',
devtool: 'none',
stats: 'errors-only',
optimization: {
minimizer: [new TerserJSPlugin({}), new CssMinimizerPlugin()],
Expand Down

0 comments on commit eeea06d

Please sign in to comment.