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