Fix production builds

This commit is contained in:
Tusooa Zhu 2022-08-15 17:39:17 -04:00
parent 78e1738d08
commit 96d8707353
No known key found for this signature in database
GPG key ID: 7B467EDE43A08224

View file

@ -60,9 +60,10 @@ var webpackConfig = merge(baseWebpackConfig, {
ignoreCustomComments: [/server-generated-meta/]
// more options:
// https://github.com/kangax/html-minifier#options-quick-reference
},
}
// ,
// necessary to consistently work with multiple chunks via CommonsChunkPlugin
chunksSortMode: 'dependency'
// chunksSortMode: 'dependency'
}),
// split vendor js into its own file
// extract webpack runtime and module manifest to its own file in order to