bili
bili copied to clipboard
Migrate from rollup-plugin-typescript2 to rollup-plugin-ts
Migrate from rollup-plugin-typescript2 to rollup-plugin-ts. This would be a breaking change.
Reasons to switch
- allow bili to support TypeScript out of the box (no need to manually install a plugin)
- better integration with Babel
- support for custom TypeScript AST transformers
Possible issues
- https://github.com/wessberg/rollup-plugin-ts/pull/41
Related discussions
- https://github.com/egoist/bili/pull/339#issuecomment-620373608
- https://github.com/egoist/bili/issues/183#issuecomment-554886723