build: disable automatic chunking for now

This commit is contained in:
Ilya Kreymer
2020-08-31 19:40:04 -07:00
parent f8120adbbd
commit 557b528ca6
3 changed files with 201 additions and 166 deletions
+5 -5
View File
File diff suppressed because one or more lines are too long
+193 -161
View File
File diff suppressed because one or more lines are too long
+3
View File
@@ -86,6 +86,9 @@ const browserConfig = (env, argv) => {
},
plugins: [
new webpack.optimize.LimitChunkCountPlugin({
maxChunks: 1,
}),
new MiniCssExtractPlugin(),
new webpack.DefinePlugin({
__SW_NAME__: JSON.stringify('sw.js'),