14 lines
394 B
JavaScript
14 lines
394 B
JavaScript
// 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' })
|