-
Notifications
You must be signed in to change notification settings - Fork 5
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
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
目前主流编译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记录下这个问题。The text was updated successfully, but these errors were encountered: