Skip to content

Commit 54cc354

Browse files
committed
fix: remove unused codes
1 parent 490c93f commit 54cc354

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

vite.config.ts

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ import fs from "fs";
88
// vite.config.ts 파일에서 alias 설정을 추가해야 합니다.
99

1010
export 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")

0 commit comments

Comments
 (0)