From 2a372730cfc8e88ed88dbabfda4b9c24e373d4ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Rialland?= Date: Tue, 22 Nov 2022 16:42:25 +0100 Subject: [PATCH] Fix storybook build --- site/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site/package.json b/site/package.json index b6e0db018..75d973f54 100644 --- a/site/package.json +++ b/site/package.json @@ -44,8 +44,8 @@ "i18n:rules:translate": "node scripts/i18n/translate-rules.js", "i18n:ui:check": "i18next -c scripts/i18n/parser.config.js && node scripts/i18n/check-missing-UI-translation.js", "i18n:ui:translate": "rm -rf source/locales/static-analysis-fr.json && i18next -c scripts/i18n/parser.config.js && node scripts/i18n/translate-ui.js", - "storybook": "start-storybook -p 6006", - "build:storybook": "build-storybook" + "storybook": "NODE_OPTIONS=--openssl-legacy-provider start-storybook -p 6006", + "build:storybook": "NODE_OPTIONS=--openssl-legacy-provider build-storybook" }, "dependencies": { "@axe-core/react": "^4.5.2",