Skip to content

How to obfuscate an Angular library? #999

Open
@sergilu

Description

@sergilu

I have been trying to obfuscate the code of my Angular library but I have failed in the attempt.

I haven't found any guide on how to obfuscate Angular libraries, all of them are for applications.

With angular-builders and webpack-obfuscator the only thing I have achieved is a single main.js that does not work when importing it into an Angular application. I think this happens because ng-packagr uses Rollup to generate the library with the Angular Package Format.

I would like to know how you do to obfuscate a library with Angular or with another Framework. Thanks.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions