Fix index.html file location

Was being created at wrong location on `npm run build:dev`
This commit is contained in:
omuretsu 2023-04-06 20:42:26 -04:00
parent 677686fa20
commit f5cddb6984

@ -55,6 +55,7 @@ module.exports = (env, argv) => {
const htmlConfig = { const htmlConfig = {
title: "Bitburner", title: "Bitburner",
template: "src/index.html", template: "src/index.html",
filename: "../index.html",
favicon: "favicon.ico", favicon: "favicon.ico",
googleAnalytics: { googleAnalytics: {
trackingId: "UA-100157497-1", trackingId: "UA-100157497-1",
@ -90,9 +91,6 @@ module.exports = (env, argv) => {
useShortDoctype: false, useShortDoctype: false,
}, },
}; };
if (!isDevelopment) {
htmlConfig.filename = "../index.html";
}
return { return {
plugins: [ plugins: [