javascriptObfuscator({ apply: 'build', // Only run during production builds include: ["dist/assets/*.js"], // Target compiled bundles only exclude: ["node_modules/**"], options: { controlFlowFlattening: true, controlFlowFlatteningThreshold: 0.6, deadCodeInjection: false, // Avoid excessive size bloat debugProtection: false, // Prevent performance issues disableConsoleOutput: true, // Remove console statements identifierNamesGenerator: "hexadecimal", log: false, renameGlobals: false, // Preserve global scope references splitStrings: true, stringArray: true, stringArrayThreshold: 0.75, stringArrayShuffle: true, rotateStringArray: true, }, }) __ __