diff --git a/playground/webpack.config.ts b/playground/webpack.config.ts index 3ea5be70..799bcb61 100644 --- a/playground/webpack.config.ts +++ b/playground/webpack.config.ts @@ -5,6 +5,8 @@ import { Configuration } from 'webpack' import 'webpack-dev-server' const isDev = process.env.DEV === '1' +const port = process.env.BOTD_PORT || 3000 +const host = process.env.BOTD_HOST; const config: Configuration = { mode: isDev ? 'development' : 'production', @@ -52,7 +54,8 @@ const config: Configuration = { devServer: { compress: !isDev, - port: 3000, + host: host, + port: port, }, performance: {