mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-18 08:49:39 +02:00
Applied formatting to 1487+ files using pnpm format:write - TypeScript/JavaScript files - Svelte components - Astro pages - JSON configs - Markdown docs 13 files still need manual review (Astro JSX comments)
17 lines
502 B
JavaScript
17 lines
502 B
JavaScript
// Learn more https://docs.expo.io/guides/customizing-metro
|
|
const { getDefaultConfig } = require('expo/metro-config');
|
|
const path = require('path');
|
|
|
|
const { withNativeWind } = require('nativewind/metro');
|
|
|
|
/** @type {import('expo/metro-config').MetroConfig} */
|
|
|
|
const config = getDefaultConfig(__dirname);
|
|
|
|
// Add path mapping for @ alias
|
|
config.resolver.alias = {
|
|
'@': path.resolve(__dirname, './'),
|
|
...config.resolver.alias,
|
|
};
|
|
|
|
module.exports = withNativeWind(config, { input: './global.css' });
|