|
@@ -13,33 +13,33 @@ export default defineConfig({
|
|
|
exportName:"EduTextbookServer",
|
|
|
|
|
|
}),
|
|
|
- obfuscatorPlugin({
|
|
|
- include: ["**/*.js"],
|
|
|
- exclude: [/node_modules/],
|
|
|
- apply: "build",
|
|
|
- debugger: true,
|
|
|
- options: {
|
|
|
- debugProtection:false,
|
|
|
- debugProtectionInterval:0,
|
|
|
-
|
|
|
- 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: {
|
|
|
lib: {
|