Skip to content

Commit

Permalink
feat(cli): enable split chunks optimisation in webpack config
Browse files Browse the repository at this point in the history
  • Loading branch information
mediremi authored and KaiVandivier committed Aug 23, 2022
1 parent 2693258 commit e8ebcbf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cli/src/lib/plugin/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,9 @@ module.exports = ({ env: webpackEnv, paths }) => {
},
}),
],
splitChunks: {
chunks: 'all',
},
},
plugins: [
new HtmlWebpackPlugin(
Expand Down

0 comments on commit e8ebcbf

Please sign in to comment.