mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
f0b102d830
This is a squash merge of a bajillion messy small commits created while iterating on the UI component library and redesign.
13 lines
282 B
TypeScript
13 lines
282 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;
|
|
});
|