Skip to content

Commit 334e827

Browse files
Set --openssl-legacy-provider flag
This fix webpack/webpack#14532.
1 parent f4db5bc commit 334e827

File tree

2 files changed

+133
-2
lines changed

2 files changed

+133
-2
lines changed

package-lock.json

+130
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"description": "Official mojs website for tutorials and documentation",
55
"private": true,
66
"scripts": {
7-
"dev": "vuepress dev docs --no-cache --open --host localhost",
8-
"build": "vuepress build docs --no-cache"
7+
"dev": "cross-env NODE_OPTIONS=--openssl-legacy-provider vuepress dev docs --no-cache --open --host localhost",
8+
"build": "cross-env NODE_OPTIONS=--openssl-legacy-provider vuepress build docs --no-cache"
99
},
1010
"repository": {
1111
"type": "git",
@@ -25,6 +25,7 @@
2525
"homepage": "https://mojs.github.io/",
2626
"devDependencies": {
2727
"cache-loader": "^4.1.0",
28+
"cross-env": "^7.0.3",
2829
"vuepress": "^1.9.7"
2930
},
3031
"dependencies": {

0 commit comments

Comments
 (0)