ghostdevv / rollup-obfuscator

A plugin to obfuscate javascript for rollup based on https://www.npmjs.com/javascript-obfuscator
MIT License
56 stars 7 forks source link

include only specific files and keep the rest #110

Closed RoxDevvv closed 2 years ago

RoxDevvv commented 2 years ago

How to include inly specific files to be obfuscated and let the rest i don't want to obfuscate the whole bundle file it increase the files size any example ! thank you

ghostdevv commented 2 years ago

You should be able to use the new filter option: https://github.com/ghostdevv/rollup-obfuscator#config

RoxDevvv commented 2 years ago

let say am using include option would the rest of scripts excluded automatically

include : ["script1.svelte","script1.svelte"];

RoxDevvv commented 2 years ago

i found my self using version 2 whish doesn't have include or exclude