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
commit986c6f2e3b858d6332eba0b42acc6861cd4d0227 (patch)
treef0c1a71eb855ad2b3f2640c54b38ecd6cffd79d8 /Timeline/ClientApp/webpack.config.dev.js
parentf88f9e7281c63da6a3d2c87be439fbcb30f6fe20 (diff)
downloadtimeline-986c6f2e3b858d6332eba0b42acc6861cd4d0227.tar.gz
timeline-986c6f2e3b858d6332eba0b42acc6861cd4d0227.tar.bz2
timeline-986c6f2e3b858d6332eba0b42acc6861cd4d0227.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();