import path from "path" import { defineConfig } from "vite" import react from "@vitejs/plugin-react" import wyw from '@wyw-in-js/vite' export default defineConfig({ plugins: [ react(), wyw({ include: ['**/*.{ts,tsx}'], babelOptions: { presets: ['@babel/preset-typescript', '@babel/preset-react'], }, }), ], resolve: { alias: { "@": path.resolve(__dirname, "./src"), }, }, })