Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 支持ES7的decorator #2

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

feat: 支持ES7的decorator #2

wants to merge 3 commits into from

Conversation

axetroy
Copy link

@axetroy axetroy commented Feb 20, 2017

因为是react的语法,基于类,很适合使用decorators
ps:

  1. 增加了babel的一个插件:babel-plugin-transform-decorators-legacy^6.23.0
  2. 更新依赖:
    babel-core^6.22.1 >>> babel-core: ^6.23.1
    babel-plugin-transform-runtime^6.22.0 >>> babel-plugin-transform-runtime^6.23.0
  3. 把开发依赖从生产依赖分离出来

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant