From 96fc7164303dc87c7f6712416ca6a0682983e314 Mon Sep 17 00:00:00 2001 From: Digberi Date: Wed, 13 Sep 2023 17:28:22 +0300 Subject: [PATCH] add babel configuration --- craco.config.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/craco.config.js b/craco.config.js index 5957a3b9a..43505c1ba 100644 --- a/craco.config.js +++ b/craco.config.js @@ -9,7 +9,9 @@ module.exports = { plugins: [ 'babel-plugin-transform-typescript-metadata', ['@babel/plugin-proposal-decorators', { legacy: true }], - ['@babel/plugin-proposal-class-properties', { loose: true }] + ['@babel/plugin-proposal-class-properties', { loose: true }], + ['@babel/plugin-transform-private-property-in-object', { loose: true }], + ['@babel/plugin-transform-private-methods', { loose: true }] ], loaderOptions: babelLoaderOptions => { return babelLoaderOptions;