Skip to content

Obfuscate folder but keep same file names #403

Closed
@PeterHdd

Description

@PeterHdd

Is there a way using the CLI to obfuscate a folder example /dist but keep the same file names. Example if I have:

/dist/14a3.js
/dist/qe3g.js

When I obfuscate using:

javascript-obfuscator ./dist, I will get the following files:

/dist/14a3.js
/dist/qe3g.js
/dist/obfuscated-14a3.js
/dist/obfuscated-qe3g.js

What I want to actually happen, is to obfuscate those two files but just override the content inside them with obfuscation, therefore when I execute the command javascript-obfuscator ./dist, i will still have only the two original files but with obfuscated code.

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