Skip to content

Commit

Permalink
FIX Do not minify js for non-production
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Jan 12, 2023
1 parent a585657 commit 050f2dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configMeta/javascriptWebpackConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module.exports = class JavascriptWebpackConfig extends BaseWebpackConfig {
module: moduleJS(ENV, PATHS),
externals: externalJS(ENV, PATHS, moduleName),
plugins: pluginJS(ENV),
optimization: {
optimization: (ENV !== 'production') ? {} : {
minimize: true,
minimizer: [
new TerserPlugin({
Expand Down

0 comments on commit 050f2dc

Please sign in to comment.