Enable builds without prefix

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

View file

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