Skip to content

Commit d4cc408

Browse files
authored
Update code-comments describing babel plugins (#84622) (#84655)
1 parent 3a662a7 commit d4cc408

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

packages/kbn-babel-preset/common_preset.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,19 @@ const plugins = [
2828
// See https://github.com/babel/proposals/issues/12 for progress
2929
require.resolve('@babel/plugin-proposal-class-properties'),
3030

31-
// Optional Chaining proposal is stage 3 (https://github.com/tc39/proposal-optional-chaining)
31+
// Optional Chaining proposal is stage 4 (https://github.com/tc39/proposal-optional-chaining)
3232
// Need this since we are using TypeScript 3.7+
3333
require.resolve('@babel/plugin-proposal-optional-chaining'),
34-
// Nullish coalescing proposal is stage 3 (https://github.com/tc39/proposal-nullish-coalescing)
34+
35+
// Nullish coalescing proposal is stage 4 (https://github.com/tc39/proposal-nullish-coalescing)
3536
// Need this since we are using TypeScript 3.7+
3637
require.resolve('@babel/plugin-proposal-nullish-coalescing-operator'),
3738

38-
// Proposal is on stage 4 (https://github.com/tc39/proposal-export-ns-from)
39+
// Proposal is on stage 4, and included in ECMA-262 (https://github.com/tc39/proposal-export-ns-from)
3940
// Need this since we are using TypeScript 3.8+
4041
require.resolve('@babel/plugin-proposal-export-namespace-from'),
4142

42-
// Proposal is on stage 4 (https://github.com/tc39/proposal-export-ns-from)
43+
// Proposal is on stage 4, and included in ECMA-262 (https://github.com/tc39/proposal-export-ns-from)
4344
// Need this since we are using TypeScript 3.9+
4445
require.resolve('@babel/plugin-proposal-private-methods'),
4546
];

0 commit comments

Comments
 (0)