From b01e49d5ac01f87a86d6f110e9ff8fd7d3583677 Mon Sep 17 00:00:00 2001 From: Yi-Ting Tu Date: Sun, 29 Sep 2024 22:37:51 -0400 Subject: [PATCH] Update devServer options --- package.json | 2 +- webpack.config.js | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/package.json b/package.json index 5b46eb2f..7706a915 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "build-webpages": "node ./scripts/buildWebpages.js", "build-simulator": "webpack --mode=production", "build-docs": "jsdoc -c jsdoc.json", - "start": "webpack serve --open --mode=development", + "start": "webpack serve --open simulator/ --mode=development", "build": "npm run build-translations && npm run build-webpages && npm run build-simulator && npm run build-docs" } } diff --git a/webpack.config.js b/webpack.config.js index bc0883c5..c47d1a2d 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -85,9 +85,6 @@ module.exports = (env, argv) => { warnings: false, }, }, - historyApiFallback: { - index: 'simulator/' - }, }, devtool: isProduction ? 'source-map' : 'eval-source-map', };