Skip to content

Commit

Permalink
fix: vue core 版本跟随了 mpvue 版本号
Browse files Browse the repository at this point in the history
  • Loading branch information
aOrz committed Mar 10, 2018
1 parent aeb2251 commit c05fda8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion build/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit c05fda8

Please sign in to comment.