File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- import react from ' @vitejs/plugin-react'
2- import path from ' path'
3- import { fileURLToPath } from ' url'
4- import { defineConfig } from ' vite'
1+ import react from " @vitejs/plugin-react" ;
2+ import path from " path" ;
3+ import { fileURLToPath } from " url" ;
4+ import { defineConfig } from " vite" ;
55
6- const __dirname = path . dirname ( fileURLToPath ( import . meta. url ) )
7-
8- const isDev = import . meta. env . DEV
6+ const __dirname = path . dirname ( fileURLToPath ( import . meta. url ) ) ;
97
108export default defineConfig ( {
119 plugins : [ react ( ) ] ,
1210 resolve : {
1311 alias : {
14- '@' : path . resolve ( __dirname , ' ./src' ) ,
12+ "@" : path . resolve ( __dirname , " ./src" ) ,
1513 } ,
1614 } ,
1715 server : {
1816 port : 5173 ,
1917 proxy : {
20- ' /api' : {
21- target : ' https://jobsglobalscraper.ddns.net' ,
18+ " /api" : {
19+ target : " https://jobsglobalscraper.ddns.net" ,
2220 changeOrigin : true ,
2321 secure : false ,
2422 } ,
2523 } ,
2624 } ,
27- } )
25+ } ) ;
You can’t perform that action at this time.
0 commit comments