This content originally appeared on Babel Blog and was authored by Babel Team
This release enables parsing top-level await (Stage 4 at the May meeting) and transforming ergonomic brand checks for private fields (Stage 4 at the July meeting) by default. There is also now support for the Hack-style pipeline operator. We also improved our TypeScript support, implementing transform support for const
enums and namespace aliases, and we expanded our heuristics to add .displayName
to React components created by React.createContext()
(#13501).
We also introduced a new compiler assumption, noIncompleteNsImportDetection
, to produce a smaller output when compiling ECMAScript modules to CommonJS without worrying about partially initialized namespace imports caused by module cycles.
Additionally, you can now specify Rhino as a compilation target.
You can read the whole changelog on GitHub.
This content originally appeared on Babel Blog and was authored by Babel Team

Babel Team | Sciencx (2021-07-26T06:00:00+00:00) 7.15.0 Released: Hack-style pipelines, TypeScript const enums and Rhino target support. Retrieved from https://www.scien.cx/2021/07/26/7-15-0-released-hack-style-pipelines-typescript-const-enums-and-rhino-target-support/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.