diff options
Diffstat (limited to 'webpack.config.ts')
| -rw-r--r-- | webpack.config.ts | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/webpack.config.ts b/webpack.config.ts index e22cd6f..2c3e58e 100644 --- a/webpack.config.ts +++ b/webpack.config.ts @@ -66,8 +66,19 @@ module.exports = { global: true, }, devServer: { - contentBase: absolutePath("static"), + // contentBase: absolutePath("static"), compress: true, - port: 8003, + port: 8000, + liveReload: true, + hot: false, + allowedHosts: "all", + client: { + overlay: true, + }, + host: "0.0.0.0", + headers: { + "Access-Control-Allow-Origin": "*", + } }, }; + |
