update dependencies

This commit is contained in:
陈嘉涵
2019-08-02 15:22:02 +08:00
parent 78e0385544
commit e57bbeceeb
5 changed files with 149 additions and 131 deletions
@@ -1,6 +1,5 @@
const path = require('path');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const ProgressBarPlugin = require('progress-bar-webpack-plugin');
const { VueLoaderPlugin } = require('vue-loader');
module.exports = {
@@ -20,6 +19,7 @@ module.exports = {
},
devServer: {
open: true,
progress: true,
host: '0.0.0.0',
stats: 'errors-only',
clientLogLevel: 'warning'
@@ -70,7 +70,7 @@ module.exports = {
},
plugins: [
new VueLoaderPlugin(),
new ProgressBarPlugin(),
// new ProgressBarPlugin(),
new HtmlWebpackPlugin({
chunks: ['vant-docs'],
template: 'docs/site/desktop/index.html',
+1 -1
View File
@@ -1,5 +1,5 @@
const path = require('path');
const config = require('./webpack.base.js');
const config = require('./webpack.dev.js');
const isMinify = process.argv.indexOf('-p') !== -1;
+1 -1
View File
@@ -1,5 +1,5 @@
const path = require('path');
const config = require('./webpack.base.js');
const config = require('./webpack.dev.js');
module.exports = Object.assign(config, {
mode: 'production',