Commit 798b47d6 authored by nobody's avatar nobody Committed by Evan You

make vendor really cached. Do not change hash. (#153)

make vendor really cached. Do not change hash every time. Reference https://webpack.js.org/guides/code-splitting-libraries/#implicit-common-vendor-chunk
parent 3c4a1075
......@@ -19,7 +19,7 @@ const config = merge(base, {
}),
// extract vendor chunks for better caching
new webpack.optimize.CommonsChunkPlugin({
name: 'vendor'
name: ['vendor', 'manifest']
}),
// generate output HTML
new HTMLPlugin({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment