aboutsummaryrefslogtreecommitdiff
path: root/Timeline/ClientApp/webpack.config.dev.js
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-10-27 18:52:01 +0800
committercrupest <crupest@outlook.com>2020-10-27 18:52:01 +0800
commit14e5848c23c643cea9b5d709770747d98c3d75e2 (patch)
treee82df858c37d1917c13d8edbe8a4f95245be5710 /Timeline/ClientApp/webpack.config.dev.js
parent03eebbf710bfc7148493cc5a598e6cc096ee0632 (diff)
downloadtimeline-14e5848c23c643cea9b5d709770747d98c3d75e2.tar.gz
timeline-14e5848c23c643cea9b5d709770747d98c3d75e2.tar.bz2
timeline-14e5848c23c643cea9b5d709770747d98c3d75e2.zip
refactor: Remove mock backend.
Diffstat (limited to 'Timeline/ClientApp/webpack.config.dev.js')
-rw-r--r--Timeline/ClientApp/webpack.config.dev.js10
1 files changed, 1 insertions, 9 deletions
diff --git a/Timeline/ClientApp/webpack.config.dev.js b/Timeline/ClientApp/webpack.config.dev.js
index fea5a2c5..c88e1aaf 100644
--- a/Timeline/ClientApp/webpack.config.dev.js
+++ b/Timeline/ClientApp/webpack.config.dev.js
@@ -49,12 +49,4 @@ config.devServer
config.plugin("hot").use(webpack.HotModuleReplacementPlugin);
-module.exports = (env) => {
- if (env && env.TIMELINE_USE_MOCK_BACKEND) {
- config
- .entry("index")
- .add(path.join(__dirname, "src/app/http/mock/install.ts"));
- }
-
- return config.toConfig();
-};
+module.exports = config.toConfig();