javascript-obfuscator / javascript-obfuscator/webpack-obfuscator
hashes are breaking chunk loading when using "split strings" or "medium" preset
- Dominant language
- TypeScript
- Stars
- 928
- Forks
- 92
- PR merge metrics
- No merged PRs in 30d
Description
Doesn't matter what I try, but when I either:
- enable split strings or
- set the preset to medium level,
the hashes change and break chunk loading.
default preset seems to work though, but string splitting is required for my use case
webpack: 5.72.0
webpack-obfuscator: 3.5.1
EDIT:
It seems it's regressed since this fix was made https://github.com/javascript-obfuscator/webpack-obfuscator/issues/108
When I install version webpack-obfuscator:3.3.0 everything works fine. The latest version doesn't work
This is specifically for the plug-in use case
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the plugin use case with webpack-obfuscator 3.5.1 using split strings and the medium preset, then compare it with version 3.3.0. Inspect the regression associated with issue 108; done means chunk loading works without hash mismatches under the affected presets.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, webpack
- Domain
- build-system, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100