Babel 7.28.0 introduces native TypeScript configuration file support with babel.config.ts and babel.config.mts, enables ES2026 explicit resource management by default in preset-env, adds support for the discard binding proposal using void syntax, and introduces a new commonjs source type option for CommonJS-specific environments like Node.js.

3m read time From babeljs.io
Post cover image
Table of contents
Native support for babel.config.ts and babel.config.mts ( #17392 ) ​Explicit resource management enabled by default ( #17346 , #17355 ) ​Discard binding ( #17276 ) ​sourceType: "commonjs" ( #17390 ) ​

Sort: