Skip to content

Commit 7be4712

Browse files
committed
fixed webpack of terser-webpack-plugin which also uses md4
1 parent 344a220 commit 7be4712

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/deloy.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ jobs:
2929
git config --global user.name "bajins"
3030
# export LESSCHARSET=utf-8
3131
# https://github.com/vuejs/vuepress/issues/3136
32-
export NODE_OPTIONS=--openssl-legacy-provider
32+
# https://stackoverflow.com/questions/74797727/error-error0308010cdigital-envelope-routinesunsupported
33+
# export NODE_OPTIONS=--openssl-legacy-provider
3334
3435
- name: Checkout
3536
uses: actions/checkout@v4

package.json

+5
Original file line numberDiff line numberDiff line change
@@ -69,5 +69,10 @@
6969
"vuepress-plugin-fulltext-search": "^2.2.1",
7070
"vuepress-plugin-plausible-analytics": "^0.2.1",
7171
"vuepress-plugin-right-anchor": "^0.5.5"
72+
},
73+
"overrides": {
74+
75+
"terser-webpack-plugin": "^4.2.3"
76+
}
7277
}
7378
}

0 commit comments

Comments
 (0)