feat(frontend): 只在build的时候混淆
This commit is contained in:
@@ -17,6 +17,7 @@ export default defineConfig(({ command, mode }) => {
|
||||
},
|
||||
plugins: [
|
||||
obfuscatorPlugin({
|
||||
apply: config => config['mode'] === 'build',
|
||||
options: {
|
||||
compact: true,
|
||||
controlFlowFlattening: true,
|
||||
|
||||
Reference in New Issue
Block a user