Skip to content

Example project on how to obfuscate Angular application

Notifications You must be signed in to change notification settings

mahaat/example-obfuscator

Repository files navigation

ExampleObfuscator

This project was generated with Angular CLI version 7.3.4. This project showing how to obfuscate Angular app using ngx-build-plus library, and javascript-obfuscator library. The idea is simple as we only adding an additional step in webpack builds.

Build Using Obfuscator

Run ng build:obfuscate to build the project. The build artifacts will be stored in the dist/ directory. You can use ng build flags such as --prod too.

Customize Obfuscated Bundle

plugin.js file responsible for obfuscating step. You can customize the obfuscator behavior and what bundle to obfuscate.