diff --git a/interface/vite.config.ts b/interface/vite.config.ts index 008df4f7b..e1349f5c2 100644 --- a/interface/vite.config.ts +++ b/interface/vite.config.ts @@ -1,4 +1,4 @@ -import { defineConfig, splitVendorChunkPlugin } from 'vite'; +import { defineConfig } from 'vite'; import viteTsconfigPaths from 'vite-tsconfig-paths'; import preact from '@preact/preset-vite'; import viteImagemin from 'vite-plugin-imagemin'; @@ -30,6 +30,7 @@ export default defineConfig(({ command, mode }) => { } if (mode === 'hosted') { + console.log('Preparing for hosted build'); return { plugins: [preact(), viteTsconfigPaths()], build: { @@ -38,11 +39,12 @@ export default defineConfig(({ command, mode }) => { }; } + console.log('Preparing for production, optimized build'); + return { plugins: [ preact(), viteTsconfigPaths(), - splitVendorChunkPlugin(), { ...viteImagemin({ verbose: false,