[improvement] update eslint config (#2288)

This commit is contained in:
neverland
2018-12-14 14:24:23 +08:00
committed by GitHub
parent d2751ffdfa
commit 16e4889a92
141 changed files with 6387 additions and 7536 deletions

View File

@@ -1,5 +1,6 @@
const path = require('path');
const config = require('./webpack.dev.js');
const isMinify = process.argv.indexOf('-p') !== -1;
delete config.serve;
@@ -7,7 +8,7 @@ delete config.serve;
module.exports = Object.assign(config, {
mode: 'production',
entry: {
'vant': './es/index.js'
vant: './es/index.js'
},
output: {
path: path.join(__dirname, '../lib'),