Skip to content

Commit 6b2d02b

Browse files
author
symfony-flex-server[bot]
authored
Merge pull request #509
2 parents 481ce0a + f16494e commit 6b2d02b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

symfony/webpack-encore-bundle/1.0/webpack.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ Encore
2121
//.addEntry('page1', './assets/js/page1.js')
2222
//.addEntry('page2', './assets/js/page2.js')
2323

24+
// When enabled, Webpack "splits" your files into smaller pieces for greater optimization.
25+
.splitEntryChunks()
26+
2427
// will require an extra script tag for runtime.js
2528
// but, you probably want this, unless you're building a single-page app
2629
.enableSingleRuntimeChunk()

0 commit comments

Comments
 (0)