File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828 "lsp" : {
2929 "tailwindcss-language-server" : {
3030 "settings" : {
31- "classFunctions" : [
32- " cva" ,
33- " clsx"
34- ],
31+ "classFunctions" : [" cva" , " clsx" ],
3532 "experimental" : {
36- "classRegex" : [
37- " [cls|className]\\ s\\ :\\ =\\ s\" ([^\" ]*)"
38- ]
33+ "classRegex" : [" [cls|className]\\ s\\ :\\ =\\ s\" ([^\" ]*)" ]
3934 }
4035 }
4136 }
Original file line number Diff line number Diff line change 3434 "@types/node" : " ^25.0.8" ,
3535 "@types/react" : " ^19.2.8" ,
3636 "@types/react-dom" : " ^19.2.3" ,
37- "@vitejs/plugin-react-swc" : " ^4.2.2" ,
3837 "globals" : " ^17.0.0" ,
3938 "oxfmt" : " ^0.24.0" ,
4039 "oxlint" : " ^1.39.0" ,
Original file line number Diff line number Diff line change 11import tailwindcss from "@tailwindcss/vite"
2- import react from "@vitejs/plugin-react-swc"
32import { defineConfig , loadEnv } from "vite"
43
54// https://vite.dev/config/
@@ -13,7 +12,7 @@ export default defineConfig(({ mode }) => {
1312 // vite8新增
1413 tsconfigPaths : true
1514 } ,
16- plugins : [ react ( ) , tailwindcss ( ) ] ,
15+ plugins : [ tailwindcss ( ) ] ,
1716 build : {
1817 // outDir: env.VITE_BUILD_OUT_PATH,
1918 // vite8 默认配置
You can’t perform that action at this time.
0 commit comments