Skip to content

Commit

Permalink
make the actual change: enable minification when process.env.CI_PACKAGE
Browse files Browse the repository at this point in the history
  • Loading branch information
novocaine committed Nov 2, 2021
1 parent 5f027f1 commit ced0dd7
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 @@ -44,7 +44,7 @@ module.exports = (env, argv) => {
const devMode = nodeEnv !== 'production';
const useHMR = process.env.CSS_HOT_RELOAD === '1' && devMode;
const fullPageErrors = process.env.FULL_PAGE_ERRORS === '1' && devMode;
const enableMinification = argv.mode === "production" && !process.env.CI_PACKAGE;
const enableMinification = argv.mode === "production";
const disableSourceMaps = argv.mode === "production" && !process.env.CI_PACKAGE;

const development = {};
Expand Down

0 comments on commit ced0dd7

Please sign in to comment.