sucrase icon indicating copy to clipboard operation
sucrase copied to clipboard

Super-fast alternative to Babel for when you can target modern JS runtimes

Results 90 sucrase issues
Sort by recently updated
recently updated
newest added

React has a published a description of a new JSX transform with a corresponding runtime library available in new React versions: https://reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html . TypeScript (and others) have already implemented the...

It's no secret that ES module support in Node has been a long and challenging transition, and I'd like Sucrase to do what it can to move the process along...

Is there anything like the `onResolve` callback of esbuild in sucrase? Based on documentation of esbuild: > A callback added using onResolve will be run on each import path in...

Currently, the README benchmark measures the single-threaded/per-core performance of each tool. For Sucrase, Babel, and TypeScript, this is the easiest way to invoke the tools, but for swc and esbuild,...

Fixes #726 This makes it easy to use Sucrase with all of the nice benefits that ts-node provides, such as an ESM loader, tsconfig discovery, and a REPL. The implementation...

ts-node now allows a configurable transpiler and already has built-in support for swc. It would be great for Sucrase to provide plugin as well. I'm hoping to work on this...

Hi there, first off - thanks for making this library! I've been playing around on a large existing codebase comparing timings with Babel and it looks really promising. I've run...

https://sucrase.io/#code=%0Aexport%20class%20B%20%7B%7D%0A%0Aexport%20class%20A%20%7B%0A%20%20static%20B%20%3D%20B%0A%7D This is the line I'm referring to: ```js static __initStatic() {this.B = exports.B = B} ```

Thanks for all your work on sucrase. It's an amazing project. I'm a big fan of [c8](https://github.com/bcoe/c8) for code coverage checking, and it works almost perfectly with sucrase. Unfortunately, when...

For anyone watching this repo (or otherwise seeing this issue), it would be great to get information on how Sucrase is being used and how it could improve! Feedback of...