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.
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.
plugin.js file responsible for obfuscating step. You can customize the obfuscator behavior and what bundle to obfuscate.