mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
12 lines
281 B
TypeScript
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;
|
|
});
|