diff --git a/babel.config.js b/babel.config.js index 5392927..f544784 100644 --- a/babel.config.js +++ b/babel.config.js @@ -8,5 +8,8 @@ module.exports = { panicThreshold: 'all_errors', }, ], + // Pre-compile worklets so shipped CJS doesn't crash consumers with + // "Cannot copy value of type NativeWorklets". Must run last. + 'react-native-worklets/plugin', ], };