u
This commit is contained in:
1 parent
06d79d186a
commit
737aa98d18
85 files changed
+21476
-66
No files matched your search
@@ -0,0 +1,18 @@
|
||||
// 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,
|
||||
}
|
||||
|
||||
config.transformer = {
|
||||
...config.transformer,
|
||||
babelTransformerPath: require.resolve('react-native-reanimated/plugin'),
|
||||
}
|
||||
|
||||
module.exports = withNativeWind(config, { input: './src/styles/global.css' })
|
||||
Reference in new issue
Block a user