mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-25 18:50:56 +02:00
lint
This commit is contained in:
+2
-4
@@ -12,9 +12,7 @@ module.exports = (env, argv) => {
|
||||
const runInContainer = (env || {}).runInContainer === true;
|
||||
const isDevelopment = argv.mode === "development";
|
||||
const outputDirectory = isDevServer ? "dist-dev" : "dist";
|
||||
const entries = {};
|
||||
entries[`${outputDirectory}/engine`] = "./src/engine.jsx";
|
||||
entries[`${outputDirectory}/engineStyle`] = "./src/engineStyle.js";
|
||||
const entry = "./src/index.tsx";
|
||||
|
||||
const statsConfig = {
|
||||
builtAt: true,
|
||||
@@ -134,7 +132,7 @@ module.exports = (env, argv) => {
|
||||
isDevelopment && new ReactRefreshWebpackPlugin(),
|
||||
].filter(Boolean),
|
||||
target: "web",
|
||||
entry: entries,
|
||||
entry: entry,
|
||||
output: {
|
||||
path: path.resolve(__dirname, "./"),
|
||||
filename: "[name].bundle.js",
|
||||
|
||||
Reference in New Issue
Block a user