mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-26 09:33:49 +01:00
Fix index.html file location
Was being created at wrong location on `npm run build:dev`
This commit is contained in:
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: [
|
||||||
|
Loading…
Reference in New Issue
Block a user