mirror of
https://github.com/jc21/nginx-proxy-manager.git
synced 2024-08-30 18:22:48 +00:00
Merge pull request #1496 from jc21/fixes-cache-busting
Adds cache busting to js bundles as well
This commit is contained in:
commit
040b45cafa
@ -13,8 +13,8 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
output: {
|
output: {
|
||||||
path: path.resolve(__dirname, 'dist'),
|
path: path.resolve(__dirname, 'dist'),
|
||||||
filename: 'js/[name].bundle.js',
|
filename: `js/[name].bundle.js?v=${PACKAGE.version}`,
|
||||||
chunkFilename: 'js/[name].bundle.[id].js',
|
chunkFilename: `js/[name].bundle.[id].js?v=${PACKAGE.version}`,
|
||||||
publicPath: '/'
|
publicPath: '/'
|
||||||
},
|
},
|
||||||
resolve: {
|
resolve: {
|
||||||
|
Loading…
Reference in New Issue
Block a user