You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/plugin-reanimated/src/loader.ts
+7-2Lines changed: 7 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -94,8 +94,13 @@ export function pitch(
94
94
if(!warningDisplayed){
95
95
warningDisplayed=true;
96
96
logger.warn(
97
-
'`@callstack/repack-plugin-reanimated` should not be used with `@callstack/repack/babel-swc-loader`. '+
98
-
'Instead, add the `react-native-reanimated/plugin` (or `react-native-worklets/plugin`) directly to your list of babel plugins in the `babel.config.js` file in the project root.'
97
+
'When using `@callstack/repack-plugin-reanimated` together with '+
98
+
'`@callstack/repack/babel-swc-loader` you should turn off the '+
99
+
'transforms for the reanimated plugin via the '+
100
+
'`unstable_disableTransform` option. Instead, please add the '+
101
+
'`react-native-reanimated/plugin` (or '+
102
+
'`react-native-worklets/plugin`) directly to your list of babel '+
103
+
'plugins in the `babel.config.js` file in the project root.'
0 commit comments