interface: version JS changes in webpack

Also fixes a longstanding bug where the compiled JS would be written
twice to the same file, causing the bundle to be twice as large as it
needs to be.
This commit is contained in:
Liam Fitzgerald 2020-08-03 09:55:04 +10:00
parent cf84670fc8
commit 4ab11c13ee

View File

@ -56,8 +56,7 @@ module.exports = {
// }),
],
output: {
filename: 'index.js',
chunkFilename: 'index.js',
filename: 'index.[contenthash].js',
path: path.resolve(__dirname, '../../arvo/app/landscape/js'),
publicPath: '/'
},