以下是根据您的提示,分步骤说明如何在Vite项目中配置rollup-plugin-obfuscator: 1. 确定Vite构建配置文件的位置 Vite的构建配置文件通常是项目根目录下的vite.config.ts或vite.config.js文件。 2. 安装rollup-plugin-obfuscator 首先,确保已经安装了rollup-plugin-obfuscator。如果未安装,可以通过npm或yarn进行安装: bash...
javascript-obfuscator is installed separately from the rollup plugin, so it will always be updatable (unlike the official rollup plugin which has been outdated for years!) You can decide if you prefer to apply obfuscation: the traditional way, to the whole bundle ...
import{rollup}from'rollup'importobfuscatorPluginfrom'rollup-plugin-javascript-obfuscator'rollup({entry:'main.js',plugins:[//Pass options here (optional)obfuscatorPlugin({compact:true})]}) Source Maps Inline source map configuration: { sourceMap: true, sourceMapMode: 'inline' } ...
A free, fast, and reliable CDN for rollupv2.0-plugin-javascript-obfuscator. Plugin for Rollup to obfuscate JS code
1.0.5•Public• Publisheda year ago rollup-obfuscator Dependents (0) npm i@yicode-helper/rollup-obfuscator Repository github.com/chenbimo/yicode Homepage yicode.tech Weekly Downloads 0 License none Unpacked Size 13.2 kB Last publish
javascript-obfuscator/rollup-plugin-javascript-obfuscatorPublic NotificationsYou must be signed in to change notification settings Fork17 Star52 Files master __mocks__ src test .gitignore .travis.yml README.md package-lock.json package.json
Saved searches Use saved searches to filter your results more quickly Cancel Create saved search Sign in Sign up Reseting focus {{ message }} javascript-obfuscator / rollup-plugin-javascript-obfuscator Public Notifications You must be signed in to change notification settings Fork 17 ...
Saved searches Use saved searches to filter your results more quickly Cancel Create saved search Sign in Sign up Reseting focus {{ message }} javascript-obfuscator / rollup-plugin-javascript-obfuscator Public Notifications You must be signed in to change notification settings Fork 17 ...
Repository files navigation README rollup-plugin-javascript-obfuscatorAbout No description, website, or topics provided. Resources Readme Activity Stars 0 stars Watchers 1 watching Forks 0 forks Report repository Releases No releases published Packages No packages published Languages JavaScript...
"jsnext:main": "dist/rollup-plugin-javascript-obfuscator.es.js", "scripts": { "test": "jest", "pretest": "npm run build", "coverage": "npm test -- --coverage", "build": "rollup -c -f cjs -o dist/rollup-plugin-javascript-obfuscator.cjs.js && rollup -c -f es -o ...