forked from cemaden-educacao/WPD-MobileApp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
430 B
16 lines
430 B
const { getDefaultConfig } = require("metro-config");
|
|
|
|
module.exports = (async () => {
|
|
const {
|
|
resolver: { sourceExts, assetExts },
|
|
} = await getDefaultConfig();
|
|
return {
|
|
transformer: {
|
|
babelTransformerPath: require.resolve("react-native-svg-transformer"),
|
|
},
|
|
resolver: {
|
|
assetExts: [...assetExts.filter((ext) => ext !== "svg"), "db"],
|
|
sourceExts: [...sourceExts, "svg"],
|
|
},
|
|
};
|
|
})();
|