Babel 7.27.0 enhances ecosystem alignment without significant new features. The code printer now defaults to the correct import attributes syntax. The @babel/preset-typescript's rewriteImportExtensions option has been adjusted for TypeScript alignment. The estree compatibility plugin in @babel/parser generates AccessorProperty nodes for class properties from the decorators stage 3 proposal. Plugin authors can find the full changelog on GitHub.

3m read timeFrom babeljs.io
Post cover image
Table of contents
rewriteImportExtensions tweaks ( #17118 ) ​Print import attributes by default ( #16977 ) ​

Sort: