-
Notifications
You must be signed in to change notification settings - Fork 61
Do I still need this plugin when using babel7? #129
Comments
I guess use @babel/preset-typescript is a better choice |
It doesn't work for me when using it with rollup-plugin-babel, although works pretty fine when running babel isolated: rollup/rollup-plugin-babel#255 |
@zhaparoff I have already used babel + ts + react for devlopment. below is my rollup config and babel config
|
There some explanation about the caveats of using |
- [npm start] remove typescript declaration file - [npm start] use babel with typescript preset - [npm build] use typescript compiler references: - rollup/rollup-plugin-babel#255 - rollup/rollup-plugin-typescript#129 - rollup/rollup-plugin-babel#271 - rollup/rollup-plugin-babel#279 - microsoft/TypeScript-Babel-Starter#29
Hey folks (this is a canned reply, but we mean it!). Thanks to everyone who participated in this issue. We're getting ready to move this plugin to a new home at https://github.com/rollup/plugins, and we have to do some spring cleaning of the issues to make that happen. We're going to close this one, but it doesn't mean that it's not still valid. We've got some time yet before the move while we resolve pending Pull Requests, so if this issue is still relevant, please @ me and I'll make sure it gets transferred to the new repo. 🍺 |
since babel7 already support typescript.
So I can stick with rollup-plugin-babel + babel7, right ?
The text was updated successfully, but these errors were encountered: