- babel.config.js: changed jsxRuntime from 'classic' to 'automatic' (React 19 requirement) - AuthContext.tsx: reordered useEffect/useCallback to fix "Cannot access 'checkAuth' before initialization" error on web - CLAUDE.md: added Quick Start, Git Workflow, Credentials sections Web version now builds and runs correctly with npm run web
12 lines
246 B
JavaScript
12 lines
246 B
JavaScript
module.exports = function (api) {
|
|
api.cache(true);
|
|
return {
|
|
presets: [
|
|
['babel-preset-expo', { jsxRuntime: 'automatic' }]
|
|
],
|
|
plugins: [
|
|
'react-native-reanimated/plugin',
|
|
]
|
|
};
|
|
};
|