File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6868 "@types/react-syntax-highlighter" : " ^15.5.13" ,
6969 "@typescript-eslint/eslint-plugin" : " ^8.54.0" ,
7070 "@typescript-eslint/parser" : " ^8.54.0" ,
71- "@vitejs/plugin-react" : " ^5.1.3 " ,
71+ "@vitejs/plugin-react" : " ^6.0.2 " ,
7272 "cross-env" : " ^10.1.0" ,
7373 "eslint" : " ^9.27.0" ,
7474 "eslint-config-prettier" : " ^10.1.0" ,
7878 "eslint-plugin-react-hooks" : " ^7.0.1" ,
7979 "prettier" : " ^3.5.0" ,
8080 "typescript-eslint" : " ^8.54.0" ,
81- "vite" : " ^7.3.2" ,
82- "vite-plugin-svgr" : " ^4.5.0" ,
83- "vite-tsconfig-paths" : " ^6.0.5"
81+ "vite" : " ^8.0.14" ,
82+ "vite-plugin-svgr" : " ^5.2.0"
8483 },
8584 "packageManager" : " yarn@1.22.22+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610" ,
8685 "engines" : {
87- "node" : " >=22.0 .0" ,
86+ "node" : " >=22.12 .0" ,
8887 "npm" : " >=8.0.0"
8988 }
9089}
Original file line number Diff line number Diff line change 11import { defineConfig } from 'vite' ;
22import react from '@vitejs/plugin-react' ;
3- import tsconfigPaths from 'vite-tsconfig-paths' ;
43import svgr from 'vite-plugin-svgr' ;
54
65const handleGoTemplates = ( command : string ) => ( {
@@ -21,11 +20,13 @@ export default defineConfig(({ command }) => ({
2120 plugins : [
2221 handleGoTemplates ( command ) ,
2322 react ( ) ,
24- tsconfigPaths ( ) ,
2523 svgr ( {
2624 include : '**/*.svg' ,
2725 } ) ,
2826 ] ,
27+ resolve : {
28+ tsconfigPaths : true ,
29+ } ,
2930 base : './' ,
3031 server : {
3132 port : 4000 ,
You can’t perform that action at this time.
0 commit comments