Skip to content

Commit

Permalink
feat: added default cache group
Browse files Browse the repository at this point in the history
  • Loading branch information
hayes committed Mar 24, 2021
1 parent ce3da66 commit 0810d9d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/webpack/config/prod.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,12 @@ const output = merge([
vendor: {
test: /[\\/]node_modules[\\/]/,
name: getChunkName,
chunks: 'all',
chunks: 'initial',
},
default: {
test: /[\\/]src[\\/]/,
name: getChunkName,
chunks: 'initial',
},
},
},
Expand Down

0 comments on commit 0810d9d

Please sign in to comment.