Enable builds without prefix

This commit is contained in:
Hamcha 2020-06-18 13:15:54 +02:00
parent 31b68e89fc
commit 2b0608065b
Signed by untrusted user: hamcha
GPG key ID: 41467804B19A3315

View file

@ -8,7 +8,9 @@ const entryFiles = Path.join(__dirname, "./index.html");
const options = { const options = {
outDir: "./dist", outDir: "./dist",
outFile: "index.html", outFile: "index.html",
publicUrl: "/tghandbook" + process.env.SUBPATH + "/dist", publicUrl: process.env.SUBPATH
? "/tghandbook" + process.env.SUBPATH + "/dist"
: "/",
watch: false, watch: false,
contentHash: false, contentHash: false,
scopeHoist: false, scopeHoist: false,