fix: Enable processNestedWorklets to fix runAsync in example (#2449)

This commit is contained in:
Marc Rousavy 2024-01-29 13:39:09 +01:00 committed by GitHub
parent 61f6b47cd8
commit 587f2b164b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,7 +5,12 @@ const pak = require('../package.json')
module.exports = { module.exports = {
presets: ['module:metro-react-native-babel-preset'], presets: ['module:metro-react-native-babel-preset'],
plugins: [ plugins: [
['react-native-reanimated/plugin'], [
'react-native-reanimated/plugin',
{
processNestedWorklets: true
}
],
['react-native-worklets-core/plugin'], ['react-native-worklets-core/plugin'],
[ [
'module-resolver', 'module-resolver',