Skip to content

Obfuscate contents of a directory and overwrite existing files  #306

@shazaddin

Description

@shazaddin

javascript-obfuscator ./www/scripts/

The above command obfuscates all the JS files under the scripts folder. However it creates a new file for each found JS file. I am obfuscating my code base and do not want to create new files i want to overwrite existing files.

My JS files are referenced from index.html therefore i do not want to rename them. If they are renamed then all my codebase breaks. I cannot see an option that allows me to specify to overwrite existing files.

Thanks

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