mirror of
https://github.com/BrenBroZAYT/gameyfin.git
synced 2026-06-16 08:15:48 +00:00
Added dark/light mode (next: custom themes)
This commit is contained in:
+15
-9
@@ -1,15 +1,21 @@
|
||||
import reactSwc from '@vitejs/plugin-react-swc';
|
||||
import type { UserConfigFn } from 'vite';
|
||||
import { overrideVaadinConfig } from './vite.generated';
|
||||
import type {UserConfigFn} from 'vite';
|
||||
import {overrideVaadinConfig} from './vite.generated';
|
||||
import path from "path";
|
||||
|
||||
const customConfig: UserConfigFn = (env) => ({
|
||||
// Here you can add custom Vite parameters
|
||||
// https://vitejs.dev/config/
|
||||
plugins: [
|
||||
reactSwc({
|
||||
tsDecorators: true,
|
||||
}),
|
||||
],
|
||||
// Here you can add custom Vite parameters
|
||||
// https://vitejs.dev/config/
|
||||
plugins: [
|
||||
reactSwc({
|
||||
tsDecorators: true,
|
||||
}),
|
||||
],
|
||||
resolve: {
|
||||
alias: {
|
||||
"@": path.resolve(__dirname, "./frontend"),
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
export default overrideVaadinConfig(customConfig);
|
||||
|
||||
Reference in New Issue
Block a user