Commit 2ccbf32c authored by Łukasz Starosta's avatar Łukasz Starosta

Modify storybook's output dir

parent 654326a0
Pipeline #186870559 failed with stage
in 8 minutes and 32 seconds
......@@ -38,7 +38,7 @@ pages:
script:
- npm install
- npm run build
- npm run storybook:build -o ../public/storybook # will resolve to ./public/storybook because we're in /lib
- npm run storybook:build
- cd ../pages
- npm install
- ./node_modules/.bin/gatsby build --prefix-paths
......
......@@ -21,7 +21,7 @@
"start": "webpack-dev-server",
"test-update-snapshots": "jest --updateSnapshot",
"storybook": "start-storybook -p 6006",
"storybook:build": "build-storybook -c .storybook -o ../public",
"storybook:build": "build-storybook -c .storybook -o ../public/storybook",
"storybook:serve": "npx http-server ../public"
},
"devDependencies": {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment