From 4d1e04fc1578c82966e85c03f0ffa8fd1f09b800 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Abd=C3=B3n=20Rodr=C3=ADguez=20Davila?= Date: Sat, 27 Feb 2021 10:00:46 +0100 Subject: [PATCH] Update babel config (#367) --- babel.config.json | 6 ++++++ package.json | 11 ----------- 2 files changed, 6 insertions(+), 11 deletions(-) create mode 100644 babel.config.json diff --git a/babel.config.json b/babel.config.json new file mode 100644 index 00000000..b155f88d --- /dev/null +++ b/babel.config.json @@ -0,0 +1,6 @@ +{ + "plugins": [ + ["@babel/plugin-proposal-class-properties", { "loose": true }], + ["@babel/plugin-proposal-decorators", { "decoratorsBeforeExport": true }] + ] +} diff --git a/package.json b/package.json index 2cf09cea..b8a4b7d8 100644 --- a/package.json +++ b/package.json @@ -61,17 +61,6 @@ "stylelint-config-ibmresearch": "~0.6.2", "typescript": "~4.2.2" }, - "babel": { - "plugins": [ - "@babel/plugin-proposal-class-properties", - [ - "@babel/plugin-proposal-decorators", - { - "decoratorsBeforeExport": true - } - ] - ] - }, "eslintConfig": { "extends": "ibmresearch", "overrides": [