Manage image cache
All checks were successful
Deploy Spot / deploy (push) Successful in 34s

This commit is contained in:
2026-05-28 19:37:44 +02:00
parent 77a1c51692
commit 28c6f79fdb
2 changed files with 10 additions and 6 deletions

View File

@@ -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')
}