Skip to content

Commit

Permalink
Merge pull request #529 from entur/reduce-carbon-footprint
Browse files Browse the repository at this point in the history
Gjør tavla mer klimavennlig!
  • Loading branch information
Collatty authored Nov 12, 2021
2 parents 85c91b3 + ca52427 commit ecc33a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const smp = new SpeedMeasurePlugin()
module.exports = smp.wrap((env, args) => ({
mode: args.mode === 'production' ? 'production' : 'development',
entry: './src/main.tsx',
devtool: 'inline-source-map',
devtool: args.mode === 'production' ? false : 'inline-source-map',
output: {
path: OUTPUT_PATH,
filename: '[name].[fullhash].js',
Expand Down

0 comments on commit ecc33a6

Please sign in to comment.