Expected Behavior
Webpack development mode do not break any obfuscated code.
Current Behavior
Currently, webpack destroy obfuscated code by webpack obfuscator plugin if you set mode to development.
Steps to Reproduce
- Use webpack obfuscator plugin with high presset (I set 90% obfuscated functions to true and 1.0 of 1.0)
- Set mode to
development inside webpack.config.js
- Build bundle
- Try run it and get error
Your Environment
- Obfuscator version used: latest (3.4.1 or something)
- Node version used: 14.16.1
Stack trace

Minimal working example that will help to reproduce issue
function hi() {
console.log("hi!");
}
hi();
Expected Behavior
Webpack
developmentmode do not break any obfuscated code.Current Behavior
Currently, webpack destroy obfuscated code by webpack obfuscator plugin if you set mode to
development.Steps to Reproduce
developmentinsidewebpack.config.jsYour Environment
Stack trace
Minimal working example that will help to reproduce issue