3 ms·
Thank you for making this. Babel really needs some alternatives. It would be great to have a Browserify plugin (I'm not asking for anything, just speaking my t
by fiatjaf 8y ago
Thank you for making this. Babel really needs some alternatives.
It would be great to have a Browserify plugin (I'm not asking for anything, just speaking my thoughts).
- alangpierce 8y agoYep, hopefully this will motivate more of a performance focus in general. To be clear, Sucrase's parser is a slimmed-down fork of Babel's parser, so Sucrase wouldn't be possible without Babel. Also, Babel has a much broader scope as a pluginizable code transformation tool, so it's much better suited for things like prototyping future language features and doing other nontrivial transformations. Regarding Browserify support, PRs are welcome. :-) https://github.com/alangpierce/sucrase/tree/master/integrations https://github.com/alangpierce/sucrase/tree/master/integrati...