From 61796fac4f19132bf6358bd7a66bd918a5314737 Mon Sep 17 00:00:00 2001 From: Simon Larsen Date: Mon, 16 May 2022 11:29:24 +0100 Subject: [PATCH] use bable rc --- Accounts/config-overrides.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Accounts/config-overrides.js b/Accounts/config-overrides.js index 7e6f5ca1ff..483cab8a82 100644 --- a/Accounts/config-overrides.js +++ b/Accounts/config-overrides.js @@ -1,6 +1,5 @@ -const { override, addBabelPlugin } = require("customize-cra"); -const pluginProposalDecorators = require("@babel/plugin-proposal-decorators"); +const { override,useBabelRc } = require("customize-cra"); module.exports = override( - addBabelPlugin(pluginProposalDecorators, {}) + useBabelRc() ); \ No newline at end of file