We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b682502 commit 7b0fadcCopy full SHA for 7b0fadc
metro.config.js
@@ -8,6 +8,11 @@ module.exports = (async () => {
8
return {
9
transformer: {
10
babelTransformerPath: require.resolve('react-native-svg-transformer'),
11
+ getTransformOptions: async () => ({
12
+ transform: {
13
+ inlineRequires: true,
14
+ },
15
+ }),
16
},
17
resolver: {
18
assetExts: assetExts.filter(ext => ext !== 'svg'),
0 commit comments