diff --git a/gringotts-frontend/vite.config.js b/gringotts-frontend/vite.config.js index 304f41f..58d7858 100644 --- a/gringotts-frontend/vite.config.js +++ b/gringotts-frontend/vite.config.js @@ -17,6 +17,7 @@ export default defineConfig(({ command, mode }) => { }, plugins: [ obfuscatorPlugin({ + apply: config => config['mode'] === 'build', options: { compact: true, controlFlowFlattening: true,