clean up config file

This commit is contained in:
ChaosExAnima 2025-04-25 13:41:23 +02:00 committed by Renaud Chaput
parent 39c1da0d03
commit b646aa7b0b
No known key found for this signature in database
GPG Key ID: BCFC859D49B46990

View File

@ -3,7 +3,7 @@ import path from 'node:path';
import { optimizeLodashImports } from '@optimize-lodash/rollup-plugin';
import react from '@vitejs/plugin-react';
import { loadEnv, PluginOption } from 'vite';
import { PluginOption } from 'vite';
import svgr from 'vite-plugin-svgr';
import { analyzer } from 'vite-bundle-analyzer';
import RailsPlugin from 'vite-plugin-rails';
@ -27,7 +27,6 @@ export const config: UserConfigFnPromise = async ({ mode, command }) => {
},
{} as Record<string, string>,
);
const env = loadEnv(mode, process.cwd());
return {
root: jsRoot,
css: {