Skip to content

Commit 9ee6bae

Browse files
committed
Enables chunk-splitting optimizations
Fix for #20 It seems now that current implementation of AppChunk is compatible with the optimizations: additional chunks generated by optimizations, seem to not contain CSS code.
1 parent 6a8dddd commit 9ee6bae

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

config/webpack/app-base.js

-7
Original file line numberDiff line numberDiff line change
@@ -97,13 +97,6 @@ module.exports = function configFactory(ops) {
9797
fs: 'empty',
9898
},
9999
mode: o.mode,
100-
/* TODO: We have to disable these optimizations, otherwise they will break
101-
* our code-splitting functionality. Once the code-splitting setup is fixed,
102-
* these optimizations can be enabled again. */
103-
optimization: {
104-
removeEmptyChunks: false,
105-
splitChunks: false,
106-
},
107100
output: {
108101
chunkFilename: `[name]-${now.valueOf()}.js`,
109102
filename: `[name]-${now.valueOf()}.js`,

0 commit comments

Comments
 (0)