javascript-obfuscator / webpack-obfuscator

javascript-obfuscator plugin for Webpack
https://github.com/javascript-obfuscator/javascript-obfuscator
BSD 2-Clause "Simplified" License
876 stars 82 forks source link

hashes are breaking chunk loading when using "split strings" or "medium" preset #144

Open rubixibuc opened 2 years ago

rubixibuc commented 2 years ago

Doesn't matter what I try, but when I either:

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