Open Nantris opened 1 year ago
Is the yargs-parser module being bundled into your preload.build.js?
Yes it is (and previously worked fine with the same yargs-parser
version.)
Possibly a duplicate of (https://github.com/javascript-obfuscator/javascript-obfuscator/issues/1093). See this comment: https://github.com/javascript-obfuscator/javascript-obfuscator/issues/1093#issuecomment-1613908105
Expected Behavior
Upgrading from 2.x to 3.x should "just work" after updating the relevant option names
Current Behavior
3.0.0 and all builds I've tried above that result in:
Error: Cannot find module 'yargs-parser'
Steps to Reproduce
Your Environment
Stack trace
Minimal working example that will help to reproduce issue
Apparently merely importing
yargs-parser
, though I am not yet certain.Additional notes
We're applying the obfuscation using
webpack-obfuscator
rather than callingjavascript-obfuscator
directly. I tested versions 4, 3, and 2.13 to 2.19. The 2.x versions work, but nothing above.