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

[bug] @babel/preset-typescript 兼容问题 #88

Open
bigmeow opened this issue Mar 26, 2019 · 0 comments
Open

[bug] @babel/preset-typescript 兼容问题 #88

bigmeow opened this issue Mar 26, 2019 · 0 comments

Comments

@bigmeow
Copy link
Contributor

bigmeow commented Mar 26, 2019

目前主流编译ts的方式是通过 ts-loader 或者 awesome-typescript-loader 来处理,目前babel 和typescript合作, 推荐使用 babel7配合 babel插件 @babel/preset-typescript 来处理ts文件,相关配置: https://devblogs.microsoft.com/typescript/typescript-and-babel-7/

megalo-aot 对后者在某些处理上不兼容,比如 @compoents 的编译,先开issure记录下这个问题。

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

No branches or pull requests

1 participant