web: Disable automatic publicPath in webpack configs

This commit is contained in:
Mike Welsh 2020-10-21 14:53:37 -07:00
parent a4098ec72f
commit cd96df7ee7
4 changed files with 4 additions and 0 deletions

View File

@ -21,6 +21,7 @@ module.exports = (env, argv) => {
return {
entry: path.resolve(__dirname, "index.js"),
output: {
publicPath: "",
path: path.resolve(__dirname, "dist"),
filename: "ruffle.js",
chunkFilename: "core.ruffle.[contenthash].js",

View File

@ -15,6 +15,7 @@ module.exports = (env, argv) => {
return {
entry: path.resolve(__dirname, "www/index.js"),
output: {
publicPath: "",
path: path.resolve(__dirname, "dist"),
filename: "index.js",
},

View File

@ -20,6 +20,7 @@ module.exports = (env, argv) => {
lv0: path.resolve(__dirname, "js/lv0.js"),
},
output: {
publicPath: "",
path: path.resolve(__dirname, "build/dist"),
filename: "[name].js",
chunkFilename: "core.ruffle.js",

View File

@ -15,6 +15,7 @@ module.exports = (env, argv) => {
return {
entry: path.resolve(__dirname, "js/ruffle.js"),
output: {
publicPath: "",
path: path.resolve(__dirname, "dist"),
filename: "ruffle.js",
chunkFilename: "core.ruffle.[contenthash].js",