Skip to content

Commit

Permalink
perf(decoupling): Split panel chunks into smaller parts
Browse files Browse the repository at this point in the history
In contrast with chunk create by less verbose approach + max chunk number plugin content of these chunks are not mixed
  • Loading branch information
FilipLeitner authored and jmacura committed Feb 13, 2024
1 parent 6aea469 commit b1e6e55
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions projects/decoupling-test-app/custom-webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ var webpack = require('webpack');

module.exports = {
devtool: false,
optimization: {
splitChunks: {
maxSize: 50000
}
},
plugins: [
new webpack.SourceMapDevToolPlugin({
filename: '[file].map',
Expand Down

0 comments on commit b1e6e55

Please sign in to comment.