javascript-obfuscator / react-native-obfuscating-transformer

Obfuscation for React Native bundles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The number of constructor arguments in the derived class t must be >= than the number of constructor arguments of its base class.

Eljoy opened this issue · comments

Having issue while building:

npx react-native bundle --entry-file=index.js --bundle-output='./bundle.js' --dev=false --platform='android' --assets-dest='./android' --reset-cache --verbose

The number of constructor arguments in the derived class t must be >= than the number of constructor arguments of its base class.

Probably due to the old javascript-obfuscator dependency? can it be updated ?

commented

Same issue!

Same issue here due to dependency on old javascript-obfuscator version

javascript-obfuscator/javascript-obfuscator#452

I had the same issue, eventually just restructured my project to have a src directory where I put all the files I wanted to be obsfucated. That's where the lib looks by default so you can ommit the filter field if your only use case is to define a custom path. This doesn't solve your issue if you have more complex needs tho..