From 3a4422e67e2130bcf79e2370ba652d90ab9c0a5c Mon Sep 17 00:00:00 2001 From: chenjiahan Date: Fri, 22 Jan 2021 17:36:15 +0800 Subject: [PATCH] Revert "fix(cli): update dev server config" This reverts commit a7c3ce989e5f42d395fabe1124560b4ebaec6c46. --- packages/vant-cli/src/config/webpack.site.dev.ts | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) 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: {