Files
margelo--react-native-graph/example/babel.config.js
T
wehub-resource-sync 9bf9d719f7
CI / lint (push) Failing after 0s
CI / build-library (push) Failing after 1s
CI / build-web (push) Failing after 1s
chore: import upstream snapshot with attribution
2026-07-13 12:31:31 +08:00

18 lines
388 B
JavaScript

const path = require('path');
const { getConfig } = require('react-native-builder-bob/babel-config');
const pkg = require('../package.json');
const root = path.resolve(__dirname, '..');
module.exports = function (api) {
api.cache(true);
return getConfig(
{
presets: ['babel-preset-expo'],
plugins: ['react-native-worklets/plugin'],
},
{ root, pkg }
);
};