@uxweb/esbuild-plugin-obfuscator
v1.1.2
Published
An esbuild plugin that obfuscates JavaScript using javascript-obfuscator.
Downloads
14
Maintainers
Readme
esbuild-obfuscator-plugin
A plugin for esbuild that obfuscates JavaScript using javascript-obfuscator.
Installation
Install the plugin with npm:
npm install esbuild-obfuscator-plugin --save-dev
Usage
import { ObfuscatorPlugin } from "@uxweb/esbuild-plugin-obfuscator";
await esbuild.build({
plugins: [
ObfuscatorPlugin({
filter: ["**/encrypt.ts"],
obfuscatorOptions: {
//...obfuscatorOptions
},
}),
],
});