From 6ce44672e1ac66c9db483b01b7e3c359abd08b93 Mon Sep 17 00:00:00 2001 From: kotlinbuddy <161931140+kotlinbuddy@users.noreply.github.com> Date: Sat, 13 Apr 2024 06:37:57 +0530 Subject: [PATCH] Update config.prod.mjs --- vite/config.prod.mjs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/vite/config.prod.mjs b/vite/config.prod.mjs index 47c4ca0..74def95 100644 --- a/vite/config.prod.mjs +++ b/vite/config.prod.mjs @@ -13,6 +13,13 @@ export default defineConfig({ ], logLevel: 'error', build: { + rollupOptions: { + output: { + manualChunks: { + phaser: ['phaser'] + } + } + }, minify: 'terser', terserOptions: { compress: {