InvokeAI/invokeai/frontend/web/vite.config.mts
psychedelicious b490c8ae27 chore(ui): bump deps
Includes vite v5 - only change needed is to set .mts for vite config files.
2024-01-01 08:13:23 -05:00

13 lines
290 B
TypeScript

import { defineConfig } from 'vite';
import { appConfig } from './config/vite.app.config.mjs';
import { packageConfig } from './config/vite.package.config.mjs';
export default defineConfig(({ mode }) => {
if (mode === 'package') {
return packageConfig;
}
return appConfig;
});