File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed
Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,6 @@ import fs from "fs";
88// vite.config.ts 파일에서 alias 설정을 추가해야 합니다.
99
1010export default defineConfig ( ( { mode } : { mode : string } ) => {
11- console . log ( "mode" , mode ) ;
12-
1311 const isProduction = mode === "production" ;
1412 const keyPath = "./certs/key.pem" ;
1513 const certPath = "./certs/cert.pem" ;
@@ -21,10 +19,7 @@ export default defineConfig(({ mode }: { mode: string }) => {
2119 strictPort : true ,
2220 allowedHosts : [ "mbtips.kr" ] ,
2321 hmr : isProduction
24- ? {
25- host : "mbtips.kr" ,
26- protocol : "wss"
27- }
22+ ? false
2823 : {
2924 host : "localhost" ,
3025 protocol : "wss"
@@ -56,10 +51,6 @@ export default defineConfig(({ mode }: { mode: string }) => {
5651 find : "@/constants" ,
5752 replacement : path . resolve ( __dirname , "src/constants" )
5853 } ,
59- {
60- find : "@/store" ,
61- replacement : path . resolve ( __dirname , "src/store" )
62- } ,
6354 {
6455 find : "@/libs" ,
6556 replacement : path . resolve ( __dirname , "src/libs" )
You can’t perform that action at this time.
0 commit comments