Skip to content

Commit e6f6678

Browse files
Merge pull request cerebral#68 from reflog/feat/bundle-split
chore(website): added code splitting for vendors bundle
2 parents e825e8b + e7042f8 commit e6f6678

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/overmind-website/webpack.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ module.exports = {
99
path: path.join(__dirname, 'dist'),
1010
filename: 'bundle.js',
1111
},
12+
optimization: {
13+
splitChunks: {
14+
chunks: 'all',
15+
},
16+
},
1217
devServer: {
1318
proxy: {
1419
'/backend': 'http://localhost:5000',

0 commit comments

Comments
 (0)