From dde0529fbc2228ff7069a5208cdcdf745685db09 Mon Sep 17 00:00:00 2001 From: Yamagishi Kazutoshi Date: Wed, 5 May 2021 06:13:04 +0900 Subject: [PATCH] Remove dependency for @babel/plugin-proposal-class-properties (#16155) --- babel.config.js | 1 - package.json | 1 - yarn.lock | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/babel.config.js b/babel.config.js index 9be5b547a63..b040cc15960 100644 --- a/babel.config.js +++ b/babel.config.js @@ -18,7 +18,6 @@ module.exports = (api) => { ], plugins: [ ['@babel/proposal-decorators', { legacy: true }], - '@babel/proposal-class-properties', ['react-intl', { messagesDir: './build/messages' }], 'preval', ], diff --git a/package.json b/package.json index 364b2fd8eec..827dc127b3a 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,6 @@ "private": true, "dependencies": { "@babel/core": "^7.14.0", - "@babel/plugin-proposal-class-properties": "^7.8.3", "@babel/plugin-proposal-decorators": "^7.13.15", "@babel/plugin-transform-react-inline-elements": "^7.12.13", "@babel/plugin-transform-runtime": "^7.13.15", diff --git a/yarn.lock b/yarn.lock index e296a9d5197..71865363e3b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -347,7 +347,7 @@ "@babel/helper-remap-async-to-generator" "^7.13.0" "@babel/plugin-syntax-async-generators" "^7.8.4" -"@babel/plugin-proposal-class-properties@^7.13.0", "@babel/plugin-proposal-class-properties@^7.8.3": +"@babel/plugin-proposal-class-properties@^7.13.0": version "7.13.0" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.13.0.tgz#146376000b94efd001e57a40a88a525afaab9f37" integrity sha512-KnTDjFNC1g+45ka0myZNvSBFLhNCLN+GeGYLDEA8Oq7MZ6yMgfLoIRh86GRT0FjtJhZw8JyUskP9uvj5pHM9Zg==