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
This commit is contained in:
Tim Neutkens 2021-05-05 14:02:14 +02:00 committed by GitHub
parent 83395c92ec
commit 3a2b88b307
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 3 deletions

View file

@ -34,4 +34,4 @@ yarn-error.log*
.vercel
# Storybook
/storybook-static
/storybook-static

View file

@ -7,7 +7,8 @@
"build": "next build",
"start": "next start",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook"
"build-storybook": "build-storybook -s public/",
"serve-storybook": "serve storybook-static"
},
"dependencies": {
"next": "latest",
@ -19,6 +20,7 @@
"@storybook/addon-essentials": "6.0.26",
"@storybook/addon-links": "6.0.26",
"@storybook/react": "6.0.26",
"babel-loader": "^8.0.5"
"babel-loader": "^8.0.5",
"serve": "11.3.2"
}
}

View file

@ -0,0 +1 @@
{}