35 lines
719 B
TypeScript
35 lines
719 B
TypeScript
|
// import tailwindcss from "@tailwindcss/vite"
|
||
|
// import { defineConfig } from "vite"
|
||
|
// import react from "@vitejs/plugin-react"
|
||
|
|
||
|
// export default defineConfig({
|
||
|
// plugins: [react(), tailwindcss()],
|
||
|
// resolve: {
|
||
|
// alias: {
|
||
|
// "@": "/src",
|
||
|
// },
|
||
|
// },
|
||
|
// esbuild: {
|
||
|
// tsconfigRaw: {
|
||
|
// compilerOptions: {
|
||
|
// skipLibCheck: true,
|
||
|
// noEmit: true,
|
||
|
// },
|
||
|
// },
|
||
|
// },
|
||
|
// })
|
||
|
|
||
|
import tailwindcss from "@tailwindcss/vite"
|
||
|
import { defineConfig } from "vite"
|
||
|
import react from "@vitejs/plugin-react-swc" // Changed this line
|
||
|
|
||
|
export default defineConfig({
|
||
|
plugins: [react(), tailwindcss()],
|
||
|
resolve: {
|
||
|
alias: {
|
||
|
"@": "/src",
|
||
|
},
|
||
|
},
|
||
|
// Remove esbuild config entirely when using SWC
|
||
|
})
|