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": [