diff --git a/metro.config.js b/metro.config.js index 238993c6..08a2e38c 100644 --- a/metro.config.js +++ b/metro.config.js @@ -3,4 +3,10 @@ const { withNativeWind } = require('nativewind/metro'); const config = getDefaultConfig(__dirname); +// Exclude test files from the bundle +config.resolver.blockList = [ + /.*\.test\.(js|ts|tsx)$/, + /.*\.spec\.(js|ts|tsx)$/, +]; + module.exports = withNativeWind(config, { input: './global.css' }); \ No newline at end of file