javascript-obfuscator / javascript-obfuscator/react-native-obfuscating-transformer
Files not being obfuscated
- Dominant language
- TypeScript
- Stars
- 211
- Forks
- 102
- PR merge metrics
- No merged PRs in 30d
Description
Previously I am facing this issue:
"TypeError: Cannot read property 'transformFile' of undefined"
But It is resolved by this code.
getTransformModulePath: () => {
return require.resolve('./transformer');
}
But after creating build, code is not being obfuscated.
And I want to obfuscate single file instead of "src" folder.
Please help.
Thanks.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the build after setting getTransformModulePath to require.resolve('./transformer'), then inspect how the transformer is invoked for the generated build and for the src folder. Confirm what input is passed when obfuscating a single file and verify that the resulting build output is obfuscated.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native, typescript
- Domain
- build-system, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100