diff --git a/packages/vant-cli/src/config/webpack.site.dev.ts b/packages/vant-cli/src/config/webpack.site.dev.ts index c017b243e..acd6e98f1 100644 --- a/packages/vant-cli/src/config/webpack.site.dev.ts +++ b/packages/vant-cli/src/config/webpack.site.dev.ts @@ -48,11 +48,13 @@ export function getSiteDevBaseConfig(): WebpackConfig { }, devServer: { port: 8080, - quiet: true, host: '0.0.0.0', - stats: 'errors-only', - publicPath: '/', - disableHostCheck: true, + dev: { + publicPath: '/', + }, + }, + infrastructureLogging: { + level: 'warn', }, resolve: { alias: {