InvokeAI/invokeai/frontend/web/vite.config.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
281 B
TypeScript
Raw Normal View History

2023-04-28 05:44:27 +00:00
import { defineConfig } from 'vite';
import { appConfig } from './config/vite.app.config';
import { packageConfig } from './config/vite.package.config';
export default defineConfig(({ mode }) => {
2023-04-28 05:44:27 +00:00
if (mode === 'package') {
return packageConfig;
}
2023-04-28 05:44:27 +00:00
return appConfig;
});