diff options
author | crupest <crupest@outlook.com> | 2021-05-08 09:52:56 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-05-08 09:52:56 +0800 |
commit | 39eecd9ccf340b50aeb6c22ee5ae5b40e6fb65dd (patch) | |
tree | 2a2b109db78d5a86784b50ccdc406a2a2a0ef85e /FrontEnd/webpack.config.dev.js | |
parent | 90c0f7802194cc8f31b37e7f0917da67e142e890 (diff) | |
download | timeline-39eecd9ccf340b50aeb6c22ee5ae5b40e6fb65dd.tar.gz timeline-39eecd9ccf340b50aeb6c22ee5ae5b40e6fb65dd.tar.bz2 timeline-39eecd9ccf340b50aeb6c22ee5ae5b40e6fb65dd.zip |
build: Roll back to webpack dev server 3.x.x because 4.x.x beta is currently buggy.
Diffstat (limited to 'FrontEnd/webpack.config.dev.js')
-rw-r--r-- | FrontEnd/webpack.config.dev.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FrontEnd/webpack.config.dev.js b/FrontEnd/webpack.config.dev.js index 44438cf3..a10bdaa8 100644 --- a/FrontEnd/webpack.config.dev.js +++ b/FrontEnd/webpack.config.dev.js @@ -40,7 +40,7 @@ config.resolve.set("fallback", { });
config.devServer
- .set("static", path.resolve(__dirname, "public/"))
+ .contentBase(path.resolve(__dirname, "public/"))
.port(3000)
.historyApiFallback(true)
.hot(true);
|