Skip to content

Commit

Permalink
Merge pull request #58 from creative-commoners/pulls/2/js-minified
Browse files Browse the repository at this point in the history
FIX Do not minify js for non-production
  • Loading branch information
GuySartorelli authored Jan 12, 2023
2 parents a585657 + 050f2dc commit 47c423d
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 47c423d

Please sign in to comment.