We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 481ce0a + f16494e commit 6b2d02bCopy full SHA for 6b2d02b
symfony/webpack-encore-bundle/1.0/webpack.config.js
@@ -21,6 +21,9 @@ Encore
21
//.addEntry('page1', './assets/js/page1.js')
22
//.addEntry('page2', './assets/js/page2.js')
23
24
+ // When enabled, Webpack "splits" your files into smaller pieces for greater optimization.
25
+ .splitEntryChunks()
26
+
27
// will require an extra script tag for runtime.js
28
// but, you probably want this, unless you're building a single-page app
29
.enableSingleRuntimeChunk()
0 commit comments