From 1ad5081bc80f71c3d3e2052e35a022cad703b10e Mon Sep 17 00:00:00 2001 From: NIK Date: Thu, 24 Oct 2024 23:18:28 +0800 Subject: [PATCH] fix: build storybook node crypto flag fixes node version incompatible crypto packages --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 64e0936aa..3c4313259 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "lint": "eslint --ext .js,.vue .", "test": "exit 0", "storybook": "start-storybook -s ./public -p 6006", - "build-storybook": "build-storybook -s ./public", + "build-storybook": "NODE_OPTIONS=--openssl-legacy-provider build-storybook -s ./public", "graph-schema": "node ./src/apollo/generatePossibleTypes.js", "prepare": "husky install", "commit": "git-cz",