mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-16 20:39:39 +02:00
Projects included: - maerchenzauber (NestJS backend + Expo mobile + SvelteKit web + Astro landing) - manacore (Expo mobile + SvelteKit web + Astro landing) - manadeck (NestJS backend + Expo mobile + SvelteKit web) - memoro (Expo mobile + SvelteKit web + Astro landing) This commit preserves the current state before monorepo restructuring. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
28 lines
1 KiB
JavaScript
28 lines
1 KiB
JavaScript
// Learn more https://docs.expo.io/guides/customizing-metro
|
|
// TEMPORARY: Disabled Sentry Metro config due to Expo SDK 54 compatibility issue
|
|
// const { getSentryExpoConfig } = require('@sentry/react-native/metro');
|
|
const { getDefaultConfig } = require('expo/metro-config');
|
|
const { withNativeWind } = require('nativewind/metro');
|
|
|
|
/** @type {import('expo/metro-config').MetroConfig} */
|
|
// eslint-disable-next-line no-undef
|
|
// TEMPORARY: Using default Expo config instead of Sentry config until fix is released
|
|
const config = getDefaultConfig(__dirname);
|
|
|
|
// Configure for SVG support
|
|
const { transformer, resolver } = config;
|
|
|
|
config.transformer = {
|
|
...transformer,
|
|
babelTransformerPath: require.resolve('react-native-svg-transformer'),
|
|
};
|
|
|
|
config.resolver = {
|
|
...resolver,
|
|
assetExts: resolver.assetExts.filter((ext) => ext !== 'svg'),
|
|
sourceExts: [...resolver.sourceExts, 'svg', 'cjs', 'mjs'],
|
|
unstable_enablePackageExports: false,
|
|
};
|
|
|
|
// Apply NativeWind configuration
|
|
module.exports = withNativeWind(config, { input: './global.css' });
|