Unverified Commit 3a2b88b3 authored by Tim Neutkens's avatar Tim Neutkens Committed by GitHub

demo serving storybook static build with serve (#24812)



Unfortunately I couldn't push up changes for that branch as maintainers access was disabled.

Closes #18775

## Bug

- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added

## Feature

- [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.

## Documentation / Examples

- [ ] Make sure the linting passes
parent 83395c92
...@@ -34,4 +34,4 @@ yarn-error.log* ...@@ -34,4 +34,4 @@ yarn-error.log*
.vercel .vercel
# Storybook # Storybook
/storybook-static /storybook-static
\ No newline at end of file
...@@ -7,7 +7,8 @@ ...@@ -7,7 +7,8 @@
"build": "next build", "build": "next build",
"start": "next start", "start": "next start",
"storybook": "start-storybook -p 6006", "storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook" "build-storybook": "build-storybook -s public/",
"serve-storybook": "serve storybook-static"
}, },
"dependencies": { "dependencies": {
"next": "latest", "next": "latest",
...@@ -19,6 +20,7 @@ ...@@ -19,6 +20,7 @@
"@storybook/addon-essentials": "6.0.26", "@storybook/addon-essentials": "6.0.26",
"@storybook/addon-links": "6.0.26", "@storybook/addon-links": "6.0.26",
"@storybook/react": "6.0.26", "@storybook/react": "6.0.26",
"babel-loader": "^8.0.5" "babel-loader": "^8.0.5",
"serve": "11.3.2"
} }
} }
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