This commit is contained in:
oneao committed 2025-11-05 17:30:35 +08:00
1 parent ca2fa3543d
commit 7333e6695f
13 files changed
+211 -105

No files matched your search

+7 -1
View File
@@ -1,7 +1,13 @@
// Learn more https://docs.expo.io/guides/customizing-metro
// metro.config.js
const { getDefaultConfig } = require('expo/metro-config')
const { withNativeWind } = require('nativewind/metro')
/** @type {import('expo/metro-config').MetroConfig} */
const config = getDefaultConfig(__dirname)
config.resolver = {
...config.resolver,
unstable_enablePackageExports: true,
}
module.exports = withNativeWind(config, { input: './src/styles/global.css' })