mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-30 21:07:04 +02:00
Resolved more circular dependencies. Installed acorn-walk and imported it in RamCalculations using ES6 modules. Fixed bugs in stock market rework
This commit is contained in:
+16
-3
@@ -10,7 +10,18 @@ module.exports = (env, argv) => {
|
||||
const entries = {};
|
||||
entries[`${outputDirectory}/engine`] = "./src/engine.jsx";
|
||||
if (!isDevServer) {
|
||||
entries["tests/tests"] = "./tests/index.js";
|
||||
entries["test/tests"] = "./test/index.js";
|
||||
}
|
||||
|
||||
const statsConfig = {
|
||||
builtAt: true,
|
||||
children: false,
|
||||
chunks: false,
|
||||
chunkGroups: false,
|
||||
chunkModules: false,
|
||||
chunkOrigins: false,
|
||||
colors: true,
|
||||
entrypoints: true,
|
||||
}
|
||||
|
||||
return {
|
||||
@@ -63,7 +74,7 @@ module.exports = (env, argv) => {
|
||||
useShortDoctype: false
|
||||
},
|
||||
excludeChunks: [
|
||||
"tests/tests"
|
||||
"test/tests"
|
||||
]
|
||||
}),
|
||||
new MiniCssExtractPlugin({
|
||||
@@ -128,6 +139,7 @@ module.exports = (env, argv) => {
|
||||
devServer: {
|
||||
port: 8000,
|
||||
publicPath: `/`,
|
||||
stats: statsConfig,
|
||||
},
|
||||
resolve: {
|
||||
extensions: [
|
||||
@@ -136,6 +148,7 @@ module.exports = (env, argv) => {
|
||||
".js",
|
||||
".jsx",
|
||||
]
|
||||
}
|
||||
},
|
||||
stats: statsConfig,
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user