Skip to content

Commit

Permalink
optimize build
Browse files Browse the repository at this point in the history
  • Loading branch information
Evgeny Metelkin committed Dec 27, 2023
1 parent 17f3153 commit 5165269
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build/webpack.prod.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ let prodWebpackConfig = {
usePostCSS: true
})
},
mode: 'development',
optimization: {
minimize: false,
runtimeChunk: false,
Expand Down Expand Up @@ -80,7 +81,7 @@ let prodWebpackConfig = {
// https://github.com/kangax/html-minifier#options-quick-reference
},
// necessary to consistently work with multiple chunks via CommonsChunkPlugin
chunksSortMode: 'dependency'
//chunksSortMode: 'dependency'
}),
// keep module.id stable when vendor modules does not change
new webpack.HashedModuleIdsPlugin(),
Expand Down

0 comments on commit 5165269

Please sign in to comment.