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