forked from hamcha/tghandbook
Enable builds without prefix
This commit is contained in:
parent
31b68e89fc
commit
2b0608065b
1 changed files with 3 additions and 1 deletions
4
build.js
4
build.js
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue