From cdecfab78e1a30daa05ba5b817a67d55213670c5 Mon Sep 17 00:00:00 2001 From: Hailong Cui Date: Thu, 3 Aug 2023 15:50:26 +0800 Subject: [PATCH] remove override babel.config.js Signed-off-by: Hailong Cui --- babel.config.js | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 babel.config.js diff --git a/babel.config.js b/babel.config.js deleted file mode 100644 index 47a09b451..000000000 --- a/babel.config.js +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Copyright OpenSearch Contributors - * SPDX-License-Identifier: Apache-2.0 - */ - -// babelrc doesn't respect NODE_PATH anymore but using require does. -// Alternative to install them locally in node_modules -module.exports = { - presets: [require("@babel/preset-env"), require("@babel/preset-react"), require("@babel/preset-typescript")], - plugins: [ - [require("@babel/plugin-transform-runtime"), { regenerator: true }], - require("@babel/plugin-proposal-class-properties"), - require("@babel/plugin-proposal-object-rest-spread"), - [require("@babel/plugin-transform-modules-commonjs"), { allowTopLevelThis: true }], - ], -};