Skip to content

Commit

Permalink
fix: use default minification options
Browse files Browse the repository at this point in the history
  • Loading branch information
ozyx committed Dec 14, 2023
1 parent 14390b5 commit 3f66745
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .webpack/webpack.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ It is the default webpack configuration.
const path = require('path');
const webpack = require('webpack');
const { merge } = require('webpack-merge');
const TerserPlugin = require('terser-webpack-plugin');

const common = require('./webpack.common');
const projectRootDir = path.resolve(__dirname, '..');
Expand All @@ -19,9 +18,5 @@ module.exports = merge(common, {
__OPENMCT_ROOT_RELATIVE__: '""'
})
],
devtool: 'source-map',
optimization: {
minimize: true,
minimizer: [new TerserPlugin()]
}
devtool: 'source-map'
});

0 comments on commit 3f66745

Please sign in to comment.