7.13.0 Released: Records and Tuples, granular compiler assumptions, and top-level targets · Babel
Babel 7.13.0リリース。
targets
の設定をTop-Levelに書くことで各プラグインがその設定を利用するように、仕様のエッジケースを無視してより小さなコードを出力するassumptions
オプションの追加。
ES Proposal Stage 2のRecordsとTuplesのサポート、Flowのthis
パラメータのサポート、TypeScript 4.2のサポートなど。
また、@babel/runtime
がNode.jsのexports
フィールドに対応するなど