1
0
mirror of https://github.com/NginxProxyManager/nginx-proxy-manager.git synced 2025-07-29 19:01:13 +03:00

Adds cache busting to js bundles as well

This commit is contained in:
chaptergy
2021-10-17 19:15:35 +02:00
parent 725ba83606
commit bf7b659e89

View File

@ -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: {