javascript-obfuscator / javascript-obfuscator/webpack-obfuscator

The project is up and running, but we're encountering errors on the web page.

Open
#181 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
928
Forks
92
PR merge metrics
No merged PRs in 30d

Description

Here's my current webpack configuration:

![Image](https://github.com/user-attachments/assets/8b0a40e8-9c21-41f0-b47a-cfd286aeb9fa)

During my local build process with the following webpack configuration:

![Image](https://github.com/user-attachments/assets/ecd9fcf3-5b5b-4993-9e4e-4484fb43d0c7)

the browser keeps throwing persistent errors. I've tried modifying the **excludes** patterns as suggested by the error messages, but the fixes aren't working.

![Image](https://github.com/user-attachments/assets/365fd4cc-43c7-453f-9c50-3b480860e308)

![Image](https://github.com/user-attachments/assets/32ef5063-6ac1-44d3-808a-c2e4c8149f36)

Could this be a version compatibility issue? More importantly, what's the proper way to exclude dependencies in **node_modules** from bundling

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the local webpack build using the configuration shown in the issue and inspect the browser errors. Determine whether the dependency exclusions in node_modules are being applied; completion would require a confirmed compatibility or exclusion fix, but the screenshots do not provide enough detail to define the exact change.

Written by the indexing model from the issue text.

Assessment

Tech stack
webpack
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.