Skip to content

Commit

Permalink
add back minification
Browse files Browse the repository at this point in the history
  • Loading branch information
blowery committed Jun 14, 2018
1 parent 5353b77 commit 27ff72a
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 @@ -30,7 +30,7 @@ const config = require( './server/config' );
const calypsoEnv = config( 'env_id' );
const bundleEnv = config( 'env' );
const isDevelopment = bundleEnv !== 'production';
const shouldMinify = process.env.MINIFY_JS === 'true';
const shouldMinify = process.env.MINIFY_JS === 'true' || bundleEnv === 'production';
const shouldEmitStats = process.env.EMIT_STATS === 'true';
const shouldCheckForCycles = process.env.CHECK_CYCLES === 'true';
const codeSplit = config.isEnabled( 'code-splitting' );
Expand Down

0 comments on commit 27ff72a

Please sign in to comment.