mirror of
https://github.com/BrenBroZAYT/gameyfin.git
synced 2026-06-13 16:40:01 +00:00
16 lines
396 B
TypeScript
16 lines
396 B
TypeScript
import reactSwc from '@vitejs/plugin-react-swc';
|
|
import type { UserConfigFn } from 'vite';
|
|
import { overrideVaadinConfig } from './vite.generated';
|
|
|
|
const customConfig: UserConfigFn = (env) => ({
|
|
// Here you can add custom Vite parameters
|
|
// https://vitejs.dev/config/
|
|
plugins: [
|
|
reactSwc({
|
|
tsDecorators: true,
|
|
}),
|
|
],
|
|
});
|
|
|
|
export default overrideVaadinConfig(customConfig);
|