InvokeAI/invokeai/frontend/web/vite.config.ts
2023-04-28 21:56:43 +10:00

12 lines
281 B
TypeScript

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