Rollup Plugin
Obfuscate JavaScript in a Rollup build
One plugin protects every JavaScript chunk Rollup writes, after minification and before the files reach disk, and deletes the source maps that would undo it. The free options run on your own machine with no account. Below: the exact config we tested, and what came out.
Tested 2026-10-29
Real build, same result
Rollup 4.66 with @rollup/plugin-terser and javascriptobfuscator-com 0.5.0, no account. The protected bundle printed exactly what the unprotected one printed.
HookgenerateBundle, after renderChunk
Files.js, .mjs and .cjs chunks
Source mapsDeleted for protected chunks