mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
fix(cli): update dev server config
This commit is contained in:
parent
9bad715ad9
commit
a7c3ce989e
@ -48,11 +48,13 @@ export function getSiteDevBaseConfig(): WebpackConfig {
|
|||||||
},
|
},
|
||||||
devServer: {
|
devServer: {
|
||||||
port: 8080,
|
port: 8080,
|
||||||
quiet: true,
|
|
||||||
host: '0.0.0.0',
|
host: '0.0.0.0',
|
||||||
stats: 'errors-only',
|
dev: {
|
||||||
publicPath: '/',
|
publicPath: '/',
|
||||||
disableHostCheck: true,
|
},
|
||||||
|
},
|
||||||
|
infrastructureLogging: {
|
||||||
|
level: 'warn',
|
||||||
},
|
},
|
||||||
resolve: {
|
resolve: {
|
||||||
alias: {
|
alias: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user