类型: Boolean 默认值: false 定义: 用于调试,打印出匹配或排除的文件路径。 示例: javascript debugger: true 如何查找更多信息 要查找更多关于 vite-plugin-obfuscator 的信息,可以访问其 GitHub 仓库 或相关文档。此外,javascript-obfuscator 的文档也提供了关于混淆选项的详细信息,是理解和配置 vite-plugin-obfusc...
首先导入javascript-obfuscator,并修改vite.config.js(或.ts)配置文件如下: import { defineConfig } from 'vite';import vue from '@vitejs/plugin - vue';import JavaScriptObfuscator from 'javascript - obfuscator';export default defineConfig({plugins: [vue()],build: {rollupOptions: {output: {plugins:...
import obfuscatorPlugin from 'rollup-plugin-javascript-obfuscator'; export function codeObfuscatorPlugin(isBuild) { if (!isBuild) { return []; } const codeObfuscator = { ...obfuscatorPlugin({ rotateUnicodeArray: true, // 必须为true compact: true, // 紧凑 从输出混淆代码中删除换行符。 control...
"name":"vite-plugin-javascript-obfuscator", "version":"1.0.0", "description":"Vite plugin for javascript-obfuscator", "main":"dist/vite-plugin-javascript-obfuscator.cjs.js", "module":"dist/vite-plugin-javascript-obfuscator.es.js",
'rollup-plugin-javascript-obfuscator' // 配置 export default defineConfig(({ command }) => ({ plugins: [ vue(), command === 'build' && javascriptObfuscator({ compact: true, controlFlowFlattening: true, controlFlowFlatteningThreshold: 1
const JavaScriptObfuscator = require('javascript-obfuscator') const fs = require('fs') // 配置 const buildDir = './dist/assets/' /** 获取目录下所有js文件及内容字符串 @result {fileName:string, content:string}[] */ const getJsFileList = (dir) => new Promise((resolve) => { ...
elmeet/vite-plugin-javascript-obfuscatorPublic NotificationsYou must be signed in to change notification settings Fork12 Star116 Files 75ab3c7 src .DS_Store .gitignore .prettierignore LICENSE README.md package.json pnpm-lock.yaml rollup.config.mjs ...
A free, fast, and reliable CDN for vite-plugin-javascript-obfuscator. A Vite Plugin for javascript-obfuscator
A Vite Plugin for javascript-obfuscator. Latest version: 3.1.1, last published: 7 months ago. Start using vite-plugin-javascript-obfuscator-generate-bundle in your project by running `npm i vite-plugin-javascript-obfuscator-generate-bundle`. There are no