+
Skip to content

升级到 babel7 #15

@eternalsky

Description

@eternalsky

目前业务上反馈需要 decorators,目前 babel7 里已经有了官方支持的 decorators 版本(https://babeljs.io/docs/en/babel-plugin-proposal-decorators) ,babel 6 当中只有 legacy 的版本,故升级到 babel7 ,一方面对接最新 babel,一方面可以可以支持 decorators。

升级需要注意的点:升级之后,要保证 build 的代码,仍然可以正常运转在 ie9 下,即兼容性保持与原来一致。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载