Skip to content

[BUG] Webpack 5 Development Mode #1053

@BlackYuzia

Description

@BlackYuzia

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

  1. Use webpack obfuscator plugin with high presset (I set 90% obfuscated functions to true and 1.0 of 1.0)
  2. Set mode to development inside webpack.config.js
  3. Build bundle
  4. 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

image

Minimal working example that will help to reproduce issue

function hi() {
    console.log("hi!");
}

hi();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions