Skip to content

Commit

Permalink
Update metro.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
yashovardhan authored Nov 13, 2024
1 parent ebfb22f commit 6576fd6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions react-native/rn-bare-quick-start/metro.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ const { getDefaultConfig, mergeConfig } = require('@react-native/metro-config');

const defaultConfig = getDefaultConfig(__dirname);

// IMP START - Bundler Issues
const config = {
resolver: {
extraNodeModules: {
Expand All @@ -18,5 +19,6 @@ const config = {
sourceExts: [...defaultConfig.resolver.sourceExts, 'svg'],
},
};
// IMP END - Bundler Issues

module.exports = mergeConfig(defaultConfig, config);

0 comments on commit 6576fd6

Please sign in to comment.