mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
b490c8ae27
Includes vite v5 - only change needed is to set .mts for vite config files.
13 lines
388 B
TypeScript
13 lines
388 B
TypeScript
import react from '@vitejs/plugin-react-swc';
|
|
import { visualizer } from 'rollup-plugin-visualizer';
|
|
import type { PluginOption, UserConfig } from 'vite';
|
|
import eslint from 'vite-plugin-eslint';
|
|
import tsconfigPaths from 'vite-tsconfig-paths';
|
|
|
|
export const commonPlugins: UserConfig['plugins'] = [
|
|
react(),
|
|
eslint(),
|
|
tsconfigPaths(),
|
|
visualizer() as unknown as PluginOption,
|
|
];
|