web: Disable automatic publicPath in webpack configs
This commit is contained in:
parent
a4098ec72f
commit
cd96df7ee7
|
@ -21,6 +21,7 @@ module.exports = (env, argv) => {
|
||||||
return {
|
return {
|
||||||
entry: path.resolve(__dirname, "index.js"),
|
entry: path.resolve(__dirname, "index.js"),
|
||||||
output: {
|
output: {
|
||||||
|
publicPath: "",
|
||||||
path: path.resolve(__dirname, "dist"),
|
path: path.resolve(__dirname, "dist"),
|
||||||
filename: "ruffle.js",
|
filename: "ruffle.js",
|
||||||
chunkFilename: "core.ruffle.[contenthash].js",
|
chunkFilename: "core.ruffle.[contenthash].js",
|
||||||
|
|
|
@ -15,6 +15,7 @@ module.exports = (env, argv) => {
|
||||||
return {
|
return {
|
||||||
entry: path.resolve(__dirname, "www/index.js"),
|
entry: path.resolve(__dirname, "www/index.js"),
|
||||||
output: {
|
output: {
|
||||||
|
publicPath: "",
|
||||||
path: path.resolve(__dirname, "dist"),
|
path: path.resolve(__dirname, "dist"),
|
||||||
filename: "index.js",
|
filename: "index.js",
|
||||||
},
|
},
|
||||||
|
|
|
@ -20,6 +20,7 @@ module.exports = (env, argv) => {
|
||||||
lv0: path.resolve(__dirname, "js/lv0.js"),
|
lv0: path.resolve(__dirname, "js/lv0.js"),
|
||||||
},
|
},
|
||||||
output: {
|
output: {
|
||||||
|
publicPath: "",
|
||||||
path: path.resolve(__dirname, "build/dist"),
|
path: path.resolve(__dirname, "build/dist"),
|
||||||
filename: "[name].js",
|
filename: "[name].js",
|
||||||
chunkFilename: "core.ruffle.js",
|
chunkFilename: "core.ruffle.js",
|
||||||
|
|
|
@ -15,6 +15,7 @@ module.exports = (env, argv) => {
|
||||||
return {
|
return {
|
||||||
entry: path.resolve(__dirname, "js/ruffle.js"),
|
entry: path.resolve(__dirname, "js/ruffle.js"),
|
||||||
output: {
|
output: {
|
||||||
|
publicPath: "",
|
||||||
path: path.resolve(__dirname, "dist"),
|
path: path.resolve(__dirname, "dist"),
|
||||||
filename: "ruffle.js",
|
filename: "ruffle.js",
|
||||||
chunkFilename: "core.ruffle.[contenthash].js",
|
chunkFilename: "core.ruffle.[contenthash].js",
|
||||||
|
|
Loading…
Reference in New Issue