|
@@ -13,33 +13,33 @@ export default defineConfig({
|
|
exportName:"EduTextbookServer",
|
|
exportName:"EduTextbookServer",
|
|
// initAppOnBoot:false,
|
|
// initAppOnBoot:false,
|
|
}),
|
|
}),
|
|
- obfuscatorPlugin({
|
|
|
|
- include: ["**/*.js"],
|
|
|
|
- exclude: [/node_modules/],
|
|
|
|
- apply: "build",
|
|
|
|
- debugger: true,
|
|
|
|
- options: {
|
|
|
|
- debugProtection:false,
|
|
|
|
- debugProtectionInterval:0,
|
|
|
|
- // ... [See more options](https://github.com/javascript-obfuscator/javascript-obfuscator)
|
|
|
|
- compact: true,
|
|
|
|
- controlFlowFlattening: false,
|
|
|
|
- controlFlowFlatteningThreshold: 0.5,
|
|
|
|
- deadCodeInjection: false,
|
|
|
|
- deadCodeInjectionThreshold: 0.2,
|
|
|
|
- disableConsoleOutput: true,
|
|
|
|
- identifierNamesGenerator: 'hexadecimal',
|
|
|
|
- log: true,
|
|
|
|
- renameGlobals: false,
|
|
|
|
- rotateStringArray: true,
|
|
|
|
- selfDefending: false,
|
|
|
|
- stringArray: true,
|
|
|
|
- stringArrayEncoding: ['base64'],
|
|
|
|
- stringArrayThreshold: 0.5,
|
|
|
|
- transformObjectKeys: false,
|
|
|
|
- unicodeEscapeSequence: false
|
|
|
|
- },
|
|
|
|
- }),
|
|
|
|
|
|
+ // obfuscatorPlugin({
|
|
|
|
+ // include: ["**/*.js"],
|
|
|
|
+ // exclude: [/node_modules/],
|
|
|
|
+ // apply: "build",
|
|
|
|
+ // debugger: true,
|
|
|
|
+ // options: {
|
|
|
|
+ // debugProtection:false,
|
|
|
|
+ // debugProtectionInterval:0,
|
|
|
|
+ // // ... [See more options](https://github.com/javascript-obfuscator/javascript-obfuscator)
|
|
|
|
+ // compact: true,
|
|
|
|
+ // controlFlowFlattening: false,
|
|
|
|
+ // controlFlowFlatteningThreshold: 0.5,
|
|
|
|
+ // deadCodeInjection: false,
|
|
|
|
+ // deadCodeInjectionThreshold: 0.2,
|
|
|
|
+ // disableConsoleOutput: true,
|
|
|
|
+ // identifierNamesGenerator: 'hexadecimal',
|
|
|
|
+ // log: true,
|
|
|
|
+ // renameGlobals: false,
|
|
|
|
+ // rotateStringArray: true,
|
|
|
|
+ // selfDefending: false,
|
|
|
|
+ // stringArray: true,
|
|
|
|
+ // stringArrayEncoding: ['base64'],
|
|
|
|
+ // stringArrayThreshold: 0.5,
|
|
|
|
+ // transformObjectKeys: false,
|
|
|
|
+ // unicodeEscapeSequence: false
|
|
|
|
+ // },
|
|
|
|
+ // }),
|
|
],
|
|
],
|
|
build: {
|
|
build: {
|
|
lib: {
|
|
lib: {
|