Skip to content

Commit

Permalink
Add minimize
Browse files Browse the repository at this point in the history
  • Loading branch information
fjsj committed Nov 29, 2023
1 parent 8bd62c4 commit 20a6ec8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ module.exports = (env, argv) => {
extensions: [".js", ".jsx"],
},
optimization: {
minimize: !isDev,
splitChunks: {
// include all types of chunks
chunks: "all",
Expand Down

0 comments on commit 20a6ec8

Please sign in to comment.