chore: update copy-webpack-plugin config

This commit is contained in:
DIYgod
2020-05-29 17:43:01 +08:00
parent bffcad63db
commit 0e4a2a0706
+8 -7
View File
@@ -160,13 +160,14 @@ module.exports = {
new MiniCssExtractPlugin({
filename: '[name].css'
}),
new CopyPlugin([
{
from: 'src/assets',
to: '',
copyUnmodified: true,
},
]),
new CopyPlugin({
patterns: [
{
from: 'src/assets',
to: '',
},
],
}),
new VueLoaderPlugin(),
new webpack.DefinePlugin({
VERSION: JSON.stringify(require('./src/assets/manifest.json').version)