preset-modules
preset-modules copied to clipboard
A Babel preset that targets modern browsers by fixing engine bugs (will be merged into preset-env eventually)
Migrate to Yarn 3. I can't get Yarn 1 running because `puppeteer@4` does not support arm64 chromium binary and then the install error halts lock file updates, even though it...
The async-arrows-in-class transform [uses Babel's arrowFunctionToExpression() helper](https://github.com/babel/preset-modules/blob/6155d0ddd2ba47d1d325659989e80e8a659d0e13/src/plugins/transform-async-arrows-in-class/index.js#L31), which doesn't patch calls to super methods: Input:Output: ```js class A extends B { a() { (async () => { super.b(); })(); }...
There is a project that has been written in Typescript. bundle size with `babel/preset-env` is 101.29KB minified & gzipped also bundle size with `babel/preset-modules` is 100.27 KB minified & gzipped....
Is there a good, or preferable setup using preset-modules, along with `preset-env' auto polyfilling? Perhaps all the transforms disabled so the polyfills are also included?