web: Add content hash to core.ruffle.js filename

This commit is contained in:
Mike Welsh 2020-01-16 11:59:58 -08:00
parent cf7a564f2c
commit bb27d6712a
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ module.exports = (env, argv) => {
output: {
path: path.resolve(__dirname, "dist"),
filename: "ruffle.js",
chunkFilename: "core.ruffle.js",
chunkFilename: "core.ruffle.[contenthash].js",
jsonpFunction: "RufflePlayerLoader",
},
mode: mode,