chore: update copy-webpack-plugin config
This commit is contained in:
parent
bffcad63db
commit
0e4a2a0706
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue