Skip to content

Commit

Permalink
fix(templates):修复decorator无法作用到property的问题 (#1184)
Browse files Browse the repository at this point in the history
  • Loading branch information
nanjingboy authored and luckyadam committed Nov 20, 2018
1 parent 0f0e97b commit fd59f4f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/taro-cli/templates/default/config/index
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ const config = {
'env'
],
plugins: [
'transform-class-properties',
'transform-decorators-legacy',
'transform-class-properties',
'transform-object-rest-spread'
]
}
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-cli/templates/mobx/config/index
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ const config = {
'env'
],
plugins: [
'transform-class-properties',
'transform-decorators-legacy',
'transform-class-properties',
'transform-object-rest-spread'
]
}
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-cli/templates/redux/config/index
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ const config = {
'env'
],
plugins: [
'transform-class-properties',
'transform-decorators-legacy',
'transform-class-properties',
'transform-object-rest-spread'
]
}
Expand Down

0 comments on commit fd59f4f

Please sign in to comment.