Skip to content

Commit

Permalink
use @babel/plugin-proposal-private-methods in default set as well
Browse files Browse the repository at this point in the history
  • Loading branch information
mshustov committed Jun 9, 2020
1 parent 16a8300 commit e98c40a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/kbn-babel-preset/common_preset.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ const plugins = [
// Proposal is on stage 4 (https://github.com/tc39/proposal-export-ns-from)
// Need this since we are using TypeScript 3.8+
require.resolve('@babel/plugin-proposal-export-namespace-from'),

// Proposal is on stage 4 (https://github.com/tc39/proposal-export-ns-from)
// Need this since we are using TypeScript 3.9+
require.resolve('@babel/plugin-proposal-private-methods'),
];

module.exports = {
Expand Down

0 comments on commit e98c40a

Please sign in to comment.