mirror of
https://github.com/youzan/vant.git
synced 2025-12-23 01:00:44 +08:00
[Build] upgrade to webpack-serve (#1056)
This commit is contained in:
@@ -14,14 +14,11 @@ module.exports = {
|
||||
publicPath: '/',
|
||||
chunkFilename: 'async_[name].js'
|
||||
},
|
||||
devServer: {
|
||||
serve: {
|
||||
open: true,
|
||||
host: '0.0.0.0',
|
||||
stats: 'errors-only',
|
||||
historyApiFallback: {
|
||||
rewrites: [
|
||||
{ from: /^\/zanui\/vant\/examples/, to: '/examples.html' },
|
||||
{ from: /^\/zanui\/vant/, to: '/index.html' }
|
||||
]
|
||||
dev: {
|
||||
logLevel: 'warn'
|
||||
}
|
||||
},
|
||||
resolve: {
|
||||
|
||||
Reference in New Issue
Block a user