fix: ssl error for next buld command

pull/556/head
Amio 2022-05-24 10:49:50 +08:00 zatwierdzone przez Amio Jin
rodzic 4804fe4803
commit 03989c20f7
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -7,7 +7,7 @@
"scripts": {
"lint": "eslint --ext .js,.ts,.jsx .",
"build:api": "tsc -p server.tsconfig.json",
"build:web": "next build && next export -o dist",
"build:web": "NODE_OPTIONS=--openssl-legacy-provider next build && next export -o dist",
"build": "npm run tools && npm run build:web && npm run build:api",
"dev": "npm run build && npm run dev:api",
"dev:api": "nodemon --config nodemon.json index.ts",