[Reanimated] Seems like you are using a Babel plugin react-native-reanimated/plugin
. It was moved to react-native-worklets
package. Please use react-native-worklets/plugin
instead.
#7887
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Expo still includes const plugin = require('react-native-worklets/plugin');
console.warn(
'[Reanimated] Seems like you are using a Babel plugin `react-native-reanimated/plugin`. It was moved to `react-native-worklets` package. Please use `react-native-worklets/plugin` instead.'
);
module.exports = plugin; So, it essentially just re-exports the You can safely ignore this warning and everything should work still fine, because it is exporting a correct plugin under the hood. If the warning is annoying for you, you can always patch the |
Beta Was this translation helpful? Give feedback.
Expo still includes
react-native-reanimated/plugin
instead of the newreact-native-worklets/plugin
in its babel preset. Thereact-native-reanimated/plugin/index.js
file does the following thing:So, it essentially just re-exports the
react-native-worklets/plugin
and shows this warning.You can safely ignore this warning and everything should work still fine, because it is exporting a correct plugin under …