Skip to content

Commit 798b47d

Browse files
bodynoyyx990803
authored andcommitted
make vendor really cached. Do not change hash. (vuejs#153)
make vendor really cached. Do not change hash every time. Reference https://webpack.js.org/guides/code-splitting-libraries/#implicit-common-vendor-chunk
1 parent 3c4a107 commit 798b47d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/webpack.client.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const config = merge(base, {
1919
}),
2020
// extract vendor chunks for better caching
2121
new webpack.optimize.CommonsChunkPlugin({
22-
name: 'vendor'
22+
name: ['vendor', 'manifest']
2323
}),
2424
// generate output HTML
2525
new HTMLPlugin({

0 commit comments

Comments
 (0)