Skip to content

Commit

Permalink
Merge pull request #42964 from Expensify/dsilva_addFullstoryToBabel
Browse files Browse the repository at this point in the history
Adding babel to the default plugins
  • Loading branch information
mountiny authored Jun 2, 2024
2 parents 041ffa5 + c7dd3d2 commit 2b0b103
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 2b0b103

Please sign in to comment.