We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm on a tight timeline and can't open a PR at the moment for the Readme but for expo 50 I have a solution based off their documentation.
const upstreamTransformer = require("@expo/metro-config/babel-transformer"); const svgTransformer = require("react-native-svg-transformer"); module.exports.transform = async ({ src, filename, options }) => { // Use react-native-svg-transformer for SVG files if (filename.endsWith(".svg")) { return svgTransformer.transform({ src, filename, options }); } // Pass the source through the upstream Expo transformer for other files return upstreamTransformer.transform({ src, filename, options }); };
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm on a tight timeline and can't open a PR at the moment for the Readme but for expo 50 I have a solution based off their documentation.
The text was updated successfully, but these errors were encountered: