📜  ERROR 错误:Reanimated 2 未能创建工作集,可能你忘记添加 Reanimated 的 babel 插件? - Javascript代码示例

📅  最后修改于: 2022-03-11 15:03:33.993000             🧑  作者: Mango

代码示例2
//Expo users add this
module.exports = function (api) {
  api.cache(true);
  return {
    presets: ['babel-preset-expo'],
    plugins: ['react-native-reanimated/plugin'],
  };
};