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 trying to add multiple resolvers and transformers using metro for my react native project, how do I combine them and obfuscate the code.
I am using metro-babel-transformer and react-native-svg-transformer
var upstreamTransformer = require("metro-babel-transformer"); var svgTransformer = require("react-native-svg-transformer"); module.exports.transform = function({ src, filename, options }) { if (filename.endsWith(".svg")) { return svgTransformer.transform({ src, filename, options }); } else { return upstreamTransformer.transform({ src, filename, options }); } };
My transformer.js look like this
The text was updated successfully, but these errors were encountered:
Check out this comment by @AustinZuniga #2 (comment)
Sorry, something went wrong.
Did anyone make this work with react-native-svg-transformer?
react-native-svg-transformer
Same issue
@grit96 @benduongquangmobile
follow this to resolve
I had the same problem.instead of using react-native-obfuscating-transformer I used obfuscator-io-metro-plugin
https://stackoverflow.com/questions/72695239/configure-react-native-obfuscating-transformer-and-react-native-svg-transformer/72698465#72698465
No branches or pull requests
I'm trying to add multiple resolvers and transformers using metro for my react native project, how do I combine them and obfuscate the code.
I am using metro-babel-transformer and react-native-svg-transformer
My transformer.js look like this
The text was updated successfully, but these errors were encountered: