feat: handle basic routes (#1784)

This commit is contained in:
Mo
2022-10-13 09:08:03 -05:00
committed by GitHub
parent 794ed7f7d4
commit 3cb016ab1f
27 changed files with 391 additions and 140 deletions

View File

@@ -12,11 +12,15 @@ module.exports = (env, argv) => {
optimization: {
minimize: false,
},
output: {
publicPath: '/',
},
plugins: [new ReactRefreshWebpackPlugin()],
devServer: {
hot: true,
static: './dist',
port,
historyApiFallback: true,
devMiddleware: {
writeToDisk: argv.writeToDisk,
},