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