Skip to content

Commit f3a0054

Browse files
committed
修复构建问题
1 parent 910eb33 commit f3a0054

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
uses: actions/configure-pages@v4
3636
- name: Install dependencies
3737
run: pnpm install
38-
- name: Build with VitePress
38+
- name: Build with Vite
3939
env:
4040
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4141
run: pnpm build

vite.config.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,6 @@ export default defineConfig({
4646
},
4747
],
4848
},
49-
esbuild: {
50-
drop: process.env.NODE_ENV === "production" ? ["console", "debugger"] : [],
51-
},
5249
server: {
5350
allowedHosts: [process.env.DEVHOST ?? "localhost"],
5451
},

0 commit comments

Comments
 (0)