Small fixes
This commit is contained in:
@@ -2,7 +2,6 @@ import path from 'node:path';
|
||||
import react from '@vitejs/plugin-react';
|
||||
import { defineConfig, loadEnv } from 'vite';
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig(({ mode }) => {
|
||||
const env = loadEnv(mode, process.cwd());
|
||||
return {
|
||||
@@ -20,7 +19,8 @@ export default defineConfig(({ mode }) => {
|
||||
'@tanstack/react-query-devtools',
|
||||
'@tanstack/react-query-persist-client',
|
||||
],
|
||||
utils: ['@hello-pangea/dnd', 'recharts', 'react-toastify', 'jotai'],
|
||||
recharts: ['recharts'],
|
||||
utils: ['@hello-pangea/dnd', 'react-toastify', 'jotai'],
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user