build: add vue 2.x compat package

This commit is contained in:
Evan You
2018-09-19 21:52:24 -04:00
parent bc8b1678f4
commit 360ab65117
5 changed files with 70 additions and 0 deletions

7
packages/vue/index.js Normal file
View File

@@ -0,0 +1,7 @@
'use strict'
if (process.env.NODE_ENV === 'production') {
module.exports = require('./dist/vue.cjs.prod.js')
} else {
module.exports = require('./dist/vue.cjs.js')
}