mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 14:59:16 +02:00
Fix index.html file location
Was being created at wrong location on `npm run build:dev`
This commit is contained in:
@@ -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: [
|
||||||
|
|||||||
Reference in New Issue
Block a user