From 348da2298bfbda74023352ac173ffacf4a13873f Mon Sep 17 00:00:00 2001 From: Daniel Silva Date: Sat, 1 Jun 2024 23:16:03 +0200 Subject: [PATCH 1/2] adding babel to the default plugins --- babel.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/babel.config.js b/babel.config.js index 3023d37df7e0..07be8b483380 100644 --- a/babel.config.js +++ b/babel.config.js @@ -10,6 +10,9 @@ const defaultPlugins = [ '@babel/transform-runtime', '@babel/plugin-proposal-class-properties', + // This will serve to map the classes correctly in FullStory + "@fullstory/babel-plugin-annotate-react", + // We use `transform-class-properties` for transforming ReactNative libraries and do not use it for our own // source code transformation as we do not use class property assignment. 'transform-class-properties', From c7dd3d22bb7ef5f4c8721fdbead7cbc7586c7a34 Mon Sep 17 00:00:00 2001 From: Daniel Silva Date: Sun, 2 Jun 2024 00:13:45 +0200 Subject: [PATCH 2/2] prettier --- babel.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/babel.config.js b/babel.config.js index 07be8b483380..060bc0313950 100644 --- a/babel.config.js +++ b/babel.config.js @@ -11,7 +11,7 @@ const defaultPlugins = [ '@babel/plugin-proposal-class-properties', // This will serve to map the classes correctly in FullStory - "@fullstory/babel-plugin-annotate-react", + '@fullstory/babel-plugin-annotate-react', // We use `transform-class-properties` for transforming ReactNative libraries and do not use it for our own // source code transformation as we do not use class property assignment.