import react from '@vitejs/plugin-react'; import { defineConfig } from 'vite'; import svgr from 'vite-plugin-svgr'; import { nodePolyfills } from 'vite-plugin-node-polyfills'; import checker from 'vite-plugin-checker'; // https://vitejs.dev/config/ export default defineConfig({ plugins: [react(), svgr(), nodePolyfills(), checker({ typescript: true })], resolve: { alias: { '@': '/src' } }, });