From c05fda8c6811219b1d7fd7868dccdb46e8360c2f Mon Sep 17 00:00:00 2001 From: aorz Date: Sat, 10 Mar 2018 09:33:24 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20vue=20core=20=E7=89=88=E6=9C=AC=E8=B7=9F?= =?UTF-8?q?=E9=9A=8F=E4=BA=86=20mpvue=20=E7=89=88=E6=9C=AC=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/config.js | 4 +++- package.json | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/build/config.js b/build/config.js index 65301f30..a0e1ec2b 100644 --- a/build/config.js +++ b/build/config.js @@ -191,8 +191,10 @@ function genConfig (opts) { plugins: [ replace({ __WEEX__: !!opts.weex, + __MPVUE__: !!opts.mp, __WEEX_VERSION__: weexVersion, - __VERSION__: opts.mp ? mpVueVersion : version + __MPVUE_VERSION__: mpVueVersion, + __VERSION__: version }), flow(), buble(), diff --git a/package.json b/package.json index c985a64a..f1a3450b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vue", - "version": "1.0.0", + "version": "2.4.1", "description": "Vue.js in mini program", "main": "dist/vue.runtime.common.js", "module": "dist/vue.runtime.esm.js",