Skip to content

Commit

Permalink
refactor(transformer): 运行传统装饰器和 export default 的写法,close #1731
Browse files Browse the repository at this point in the history
  • Loading branch information
yuche committed Dec 31, 2018
1 parent b757207 commit 87483a1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/taro-transformer-wx/src/eslint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ const cli = new CLIEngine({
parserOptions: {
ecmaVersion: 2018,
ecmaFeatures: {
jsx: true
jsx: true,
legacyDecorators: true
}
}
})
Expand Down

0 comments on commit 87483a1

Please sign in to comment.