[Build] use es entry file (#1108)

This commit is contained in:
neverland 2018-05-19 18:36:24 +08:00 committed by GitHub
parent a9bd779143
commit 249e2400a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@ delete config.serve;
module.exports = Object.assign(config, {
mode: 'production',
entry: {
'vant': './packages/index.js'
'vant': './es/index.js'
},
output: {
path: path.join(__dirname, '../lib'),