javascript-obfuscator / javascript-obfuscator/webpack-obfuscator
hashes are breaking chunk loading when using "split strings" or "medium" preset
- 主要语言
- TypeScript
- 星标
- 928
- 派生
- 92
- PR 合并指标
- 30 天内没有已合并 PR
描述
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
贡献指南
这个仓库没有索引到贡献指南
调研方向
使用 split strings 和 medium preset,通过 webpack-obfuscator 3.5.1 重现插件用例,然后与 3.3.0 版本进行比较。检查与 issue 108 相关的回归问题;完成标准是,在受影响的 preset 下 chunk 加载能够正常工作且不会出现哈希不匹配。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- typescript, webpack
- 领域
- build-system, tooling
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100