From 4e2d071fb6be651d4fa8a9c0b123b8eb56317e7e Mon Sep 17 00:00:00 2001 From: Bill Thornton Date: Wed, 29 Mar 2023 14:37:13 -0400 Subject: [PATCH] Fix dev server config --- webpack.config.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/webpack.config.ts b/webpack.config.ts index 0cb5bf13..09a3eab8 100644 --- a/webpack.config.ts +++ b/webpack.config.ts @@ -31,7 +31,7 @@ const common: webpack.Configuration = { output: { filename: '[name].[fullhash].js', path: path.resolve(__dirname, 'dist'), - publicPath: './' + publicPath: '' }, plugins: [ // @ts-expect-error - Typings mismatch between versions @@ -69,11 +69,9 @@ const development: webpack.Configuration = { // @ts-expect-error - Typings mismatch between versions devServer: { compress: true, - contentBase: path.join(__dirname, 'dist'), port: process.env.RECEIVER_PORT ? Number.parseInt(process.env.RECEIVER_PORT, 10) - : 9000, - publicPath: '/' + : 9000 }, devtool: 'inline-source-map', mode: 'development',