diff --git a/packages/fuselage-toastbar/babel.config.js b/packages/fuselage-toastbar/babel.config.js index 04d5a5be5c..e3c758fc46 100644 --- a/packages/fuselage-toastbar/babel.config.js +++ b/packages/fuselage-toastbar/babel.config.js @@ -1,7 +1,7 @@ module.exports = { plugins: [ - ['@babel/plugin-proposal-private-property-in-object', { loose: true }], - ['@babel/plugin-proposal-private-methods', { loose: true }], - ['@babel/plugin-proposal-class-properties', { loose: true }], + ['@babel/plugin-transform-private-property-in-object', { loose: true }], + ['@babel/plugin-transform-private-methods', { loose: true }], + ['@babel/plugin-transform-class-properties', { loose: true }], ], }; diff --git a/packages/fuselage/.babelrc.js b/packages/fuselage/.babelrc.js index a73fff9c22..0e34e35b6e 100644 --- a/packages/fuselage/.babelrc.js +++ b/packages/fuselage/.babelrc.js @@ -25,8 +25,8 @@ module.exports = (api) => ({ ], plugins: [ '@babel/plugin-transform-runtime', - ['@babel/plugin-proposal-class-properties', { loose: true }], - ['@babel/plugin-proposal-private-methods', { loose: true }], - ['@babel/plugin-proposal-private-property-in-object', { loose: true }], + ['@babel/plugin-transform-class-properties', { loose: true }], + ['@babel/plugin-transform-private-methods', { loose: true }], + ['@babel/plugin-transform-private-property-in-object', { loose: true }], ], }); diff --git a/packages/logo/babel.config.js b/packages/logo/babel.config.js index 04d5a5be5c..e3c758fc46 100644 --- a/packages/logo/babel.config.js +++ b/packages/logo/babel.config.js @@ -1,7 +1,7 @@ module.exports = { plugins: [ - ['@babel/plugin-proposal-private-property-in-object', { loose: true }], - ['@babel/plugin-proposal-private-methods', { loose: true }], - ['@babel/plugin-proposal-class-properties', { loose: true }], + ['@babel/plugin-transform-private-property-in-object', { loose: true }], + ['@babel/plugin-transform-private-methods', { loose: true }], + ['@babel/plugin-transform-class-properties', { loose: true }], ], }; diff --git a/packages/onboarding-ui/babel.config.js b/packages/onboarding-ui/babel.config.js index 04d5a5be5c..e3c758fc46 100644 --- a/packages/onboarding-ui/babel.config.js +++ b/packages/onboarding-ui/babel.config.js @@ -1,7 +1,7 @@ module.exports = { plugins: [ - ['@babel/plugin-proposal-private-property-in-object', { loose: true }], - ['@babel/plugin-proposal-private-methods', { loose: true }], - ['@babel/plugin-proposal-class-properties', { loose: true }], + ['@babel/plugin-transform-private-property-in-object', { loose: true }], + ['@babel/plugin-transform-private-methods', { loose: true }], + ['@babel/plugin-transform-class-properties', { loose: true }], ], };