Skip to content

Commit 23cf871

Browse files
authored
Merge pull request #151 from Soohyuniii/fix/production-mode
fix: remove logs
2 parents 02345ae + 44d1513 commit 23cf871

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,6 @@ jobs:
3232
NODE_ENV: production
3333
run: npm run build -- --mode production
3434

35-
- name: Verify Build Mode
36-
run: |
37-
grep -r "production" dist/assets/*.js | grep "import.meta.env.MODE"
38-
39-
- name: Debug .env.production file
40-
run: cat .env.production || echo ".env.production not found"
41-
42-
- name: Verify Build Mode in Output Files
43-
run: grep -r "import.meta.env" dist/ || echo "No env variables found in built files"
44-
4535
- name: Docker build & push
4636
run: |
4737
docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}

vite.config.ts

Lines changed: 0 additions & 2 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";

0 commit comments

Comments
 (0)