This commit is contained in:
@@ -94,15 +94,14 @@ module.exports = (env, argv) => {
|
||||
}
|
||||
},
|
||||
generator: {
|
||||
filename: 'images/[name][ext]'
|
||||
filename: 'images/[name].[contenthash:8][ext]'
|
||||
}
|
||||
}]
|
||||
},
|
||||
plugins: [
|
||||
new CopyWebpackPlugin({
|
||||
patterns: [
|
||||
{ from: path.resolve(LIB, 'index.php'), to: 'index.php' },
|
||||
{ from: path.resolve(SRC, 'images', 'logo_title.svg'), to: 'images' }
|
||||
{ from: path.resolve(LIB, 'index.php'), to: 'index.php' }
|
||||
]
|
||||
}),
|
||||
new SymlinkWebpackPlugin([
|
||||
@@ -133,6 +132,7 @@ module.exports = (env, argv) => {
|
||||
extensions: ['.vue', '.scss', '...'],
|
||||
alias: {
|
||||
'@components': path.resolve(SRC, 'components'),
|
||||
'@images': path.resolve(SRC, 'images'),
|
||||
'@scripts': path.resolve(SRC, 'scripts'),
|
||||
'@styles': path.resolve(SRC, 'styles')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user