bili icon indicating copy to clipboard operation
bili copied to clipboard

Migrate from rollup-plugin-typescript2 to rollup-plugin-ts

Open chocolateboy opened this issue 4 years ago • 0 comments

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

chocolateboy avatar Jun 19 '20 10:06 chocolateboy