Skip to content

Commit 114b75b

Browse files
authored
fix(storybook): chromatic requires build script (#2360)
1 parent 64c7a11 commit 114b75b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ package-lock.json
2222
build-storybook.log
2323

2424
# Chromatic
25+
chromatic.log
2526
chromatic-build-*.xml
2627
chromatic-diagnostics*.json
2728

.storybook/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
"author": "Adobe",
77
"homepage": "https://opensource.adobe.com/spectrum-css/preview",
88
"main": "main.js",
9+
"scripts": {
10+
"build": "storybook build --config-dir . --output-dir ./storybook-static"
11+
},
912
"dependencies": {
1013
"@adobe/spectrum-css-workflow-icons": "^1.5.4",
1114
"@spectrum-css/expressvars": "^3.0.9",

0 commit comments

Comments
 (0)