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

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

13 lines
290 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.mjs';
import { packageConfig } from './config/vite.package.config.mjs';
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;
});