Skip to content

Commit a42f8da

Browse files
authored
build: update storybook build script to fix openssl-legacy-provider error
1 parent 6ee4e54 commit a42f8da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"postversion": "rimraf package-lock.json && npm i --force --ignore-scripts && git add package-lock.json && git commit --amend --no-edit",
1919
"style": "node ./scripts/style.js",
2020
"storybook": "set NODE_OPTIONS=--openssl-legacy-provider && start-storybook -p 9009 -s storybook-public",
21-
"storybook:build": "build-storybook -s storybook-public -c .storybook -o storybook-static && node ./scripts/inject-version.js",
21+
"storybook:build": "set NODE_OPTIONS=--openssl-legacy-provider && build-storybook -s storybook-public -c .storybook -o storybook-static && node ./scripts/inject-version.js",
2222
"test": "jest",
2323
"cover": "jest --no-cache --config ./jest.config.ts --coverage",
2424
"check": "npm run check:formatting && npm run check:quality",

0 commit comments

Comments
 (0)