Skip to content

Commit

Permalink
lowercase webpack_analyze true
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherChudzicki committed Sep 7, 2022
1 parent 0ea64d0 commit a274e9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontends/infinite-corridor/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ const getWebpackConfig = ({mode, analyzeBundle}) => {

module.exports = (_env, argv) => {
const mode = argv.mode || process.env.NODE_ENV || "production"
const analyzeBundle = process.env.WEBPACK_ANALYZE === "True"
const analyzeBundle = process.env.WEBPACK_ANALYZE === "true"
const settings = { mode, analyzeBundle }
return getWebpackConfig(settings)
}
2 changes: 1 addition & 1 deletion frontends/open-discussions/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,6 @@ const getWebpackConfig = ({mode, analyzeBundle}) => {

module.exports = (_env, argv) => {
const mode = argv.mode || process.env.NODE_ENV || "production"
const analyzeBundle = process.env.WEBPACK_ANALYZE === "True"
const analyzeBundle = process.env.WEBPACK_ANALYZE === "true"
return getWebpackConfig({mode, analyzeBundle})
}

0 comments on commit a274e9e

Please sign in to comment.