Skip to content

Commit

Permalink
splitchunks
Browse files Browse the repository at this point in the history
  • Loading branch information
aeltorio committed Oct 5, 2024
1 parent 934891e commit eb2acf3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ module.exports = async (env, options) => {
output: {
clean: true,
},
optimization: {
splitChunks: {
maxSize: 250000,
chunks: 'all'
}
},
resolve: {
extensions: [".ts", ".tsx", ".html", ".js"],
fallback: { url: false, fs: false, module: false },
Expand Down

0 comments on commit eb2acf3

Please sign in to comment.