javascript-obfuscator / react-native-obfuscating-transformer

Obfuscation for React Native bundles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Different configurations for different files

jesucarr opened this issue · comments

Is there a way to set different obfuscatorOptions for different files?

Hi! 👋 Sorry for the delay in responding. Unfortunately there is no way to configure the obfuscator on a per-file basis at the moment.

I managed to create 2 transformers and load conditionally so I guess it's not needed

@jesucarr I am trying to create two transformers for different file types, how did you handle it?

@satheeshwaran using module.exports.transform with an if inside