mirror of
https://github.com/zhigang1992/react-native-reanimated.git
synced 2026-01-12 22:50:47 +08:00
👋 This morning I tried testing the Examples via Snack, but since it wasn't working I tried to have them work in my local folder... and well, I ended up wanting to test with RN0.57 😅 I didn't have to modify anything about the "main" lib, but I thikn it would be good to -as a separate PR- try to update it too to newer versions of both JS and Native sides. The changes to the gradle files have been done [following this](https://github.com/ncuillery/rn-diff/compare/rn-0.55.4...rn-0.57.0) comparison map. I've tested it with both iOS simulator and an Android device and it works fine on both (aside from a crash I'll report separately if I can manage to repro "outside" of the Examples)
17 lines
299 B
JavaScript
17 lines
299 B
JavaScript
module.exports = api => {
|
|
api.cache(false);
|
|
return {
|
|
presets: ['module:metro-react-native-babel-preset'],
|
|
plugins: [
|
|
[
|
|
'module-resolver',
|
|
{
|
|
alias: {
|
|
'react-native-reanimated': '../src/Animated',
|
|
},
|
|
},
|
|
],
|
|
],
|
|
};
|
|
};
|