From f5cddb698469a0f8dd38cf214a4cb08c869fd4e9 Mon Sep 17 00:00:00 2001 From: omuretsu <84951833+Snarling@users.noreply.github.com> Date: Thu, 6 Apr 2023 20:42:26 -0400 Subject: [PATCH] Fix index.html file location Was being created at wrong location on `npm run build:dev` --- webpack.config.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/webpack.config.js b/webpack.config.js index 2470508ad..fd0f3795b 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -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: [