rollup-plugin-sucrase
Use Sucrase with Rollup.
Installation
yarn add -D rollup-plugin-sucrase
Usage
An example of compiling TypeScript (the node-resolve plugin is added to automatically add file extensions, since TypeScript expects not to find them):
// rollup.config.js;; input: 'src/index.ts' output: file: 'dist/bundle.js' format: 'cjs' plugins:
License
LIL.