mirror of
https://github.com/youzan/vant.git
synced 2025-10-16 16:04:04 +00:00
[Build] update webpack.dev.js
This commit is contained in:
@@ -13,16 +13,11 @@ module.exports = {
|
||||
publicPath: '/',
|
||||
chunkFilename: 'async_[name].js'
|
||||
},
|
||||
stats: {
|
||||
modules: false,
|
||||
children: false
|
||||
},
|
||||
devServer: {
|
||||
open: true,
|
||||
progress: true,
|
||||
host: '0.0.0.0',
|
||||
stats: 'errors-only',
|
||||
clientLogLevel: 'warning'
|
||||
stats: 'errors-only'
|
||||
},
|
||||
resolve: {
|
||||
extensions: ['.js', '.ts', '.tsx', '.vue', '.less']
|
||||
@@ -70,7 +65,6 @@ module.exports = {
|
||||
},
|
||||
plugins: [
|
||||
new VueLoaderPlugin(),
|
||||
// new ProgressBarPlugin(),
|
||||
new HtmlWebpackPlugin({
|
||||
chunks: ['vant-docs'],
|
||||
template: 'docs/site/desktop/index.html',
|
||||
|
Reference in New Issue
Block a user