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:
danielyxie
2019-05-06 18:01:06 -07:00
parent 8a5b6f6cbc
commit cdb5dfec62
34 changed files with 7246 additions and 305 deletions
+16 -3
View File
@@ -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,
};
};