Skip to content

Commit fc56b84

Browse files
committed
mod: 临时修复vite新版本文问题
1 parent c660579 commit fc56b84

File tree

3 files changed

+133
-137
lines changed

3 files changed

+133
-137
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,13 @@ jobs:
7070
- name: Build blog project
7171
run: |
7272
echo ${{ github.workspace }}
73-
pnpm run build:dev
73+
pnpm run build:pro
7474
7575
# 资源拷贝
7676
- name: Build with Jekyll
7777
uses: actions/jekyll-build-pages@v1
7878
with:
79-
source: ./dist-dev
79+
source: ./dist-pro
8080
destination: ./_site
8181

8282
# 上传 _site 的资源,用于后续部署

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@
6565
"@types/react": "^19.0.2",
6666
"@types/react-dom": "^19.0.2",
6767
"@vitejs/plugin-react-swc": "^3.7.2",
68+
"esbuild": "0.24.0",
6869
"eslint": "^9.17.0",
6970
"eslint-plugin-react": "^7.37.2",
7071
"eslint-plugin-react-hooks": "^5.1.0",

0 commit comments

Comments
 (0)