Skip to content

Commit c518c19

Browse files
author
Paulo Rezende
committed
Add support to split entries
1 parent b920132 commit c518c19

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

webpack/webpack.common.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,11 @@ module.exports = {
4949
}
5050
]
5151
},
52+
optimization: {
53+
splitChunks: {
54+
chunks: 'all',
55+
name: true
56+
}
57+
},
5258
plugins: [new CleanWebpackPlugin([path.resolve('build', 'public')])]
5359
};

0 commit comments

Comments
 (0)