mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 18:14:13 +00:00
[Doc] build: use webpack-dev-server
This commit is contained in:
@@ -18,16 +18,11 @@ module.exports = {
|
||||
modules: false,
|
||||
children: false
|
||||
},
|
||||
serve: {
|
||||
devServer: {
|
||||
open: true,
|
||||
host: '0.0.0.0',
|
||||
devMiddleware: {
|
||||
logLevel: 'warn'
|
||||
},
|
||||
hotClient: {
|
||||
logLevel: 'warn',
|
||||
allEntries: true
|
||||
}
|
||||
stats: 'errors-only',
|
||||
clientLogLevel: 'warning'
|
||||
},
|
||||
resolve: {
|
||||
extensions: ['.js', '.ts', '.tsx', '.vue', '.css'],
|
||||
|
Reference in New Issue
Block a user