Skip to content

Commit 899dea9

Browse files
committed
Fix build
Temporary OpenSSL legacy mode for Node
1 parent 5bf58b3 commit 899dea9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@
3333
"webpack-cli": "^3.1.2"
3434
},
3535
"scripts": {
36-
"dev": "webpack -d",
37-
"watch": "webpack -dw",
36+
"dev": "export NODE_OPTIONS=--openssl-legacy-provider && webpack -d",
37+
"watch": "export NODE_OPTIONS=--openssl-legacy-provider && webpack -dw",
3838
"test": "jest",
39-
"build": "webpack -p",
39+
"build": "export NODE_OPTIONS=--openssl-legacy-provider && webpack -p",
4040
"eslint": "NODE_ENV=production eslint script/",
4141
"stylelint": "stylelint *.less --syntax less",
4242
"lint": "yarn eslint && yarn stylelint"

0 commit comments

Comments
 (0)