Allow to create a production build
See original GitHub issueRight now, we need to run storybook locally via something like npm run storybook
. But, it’d be great, if we can build the final HTML and share it anywhere.
So it’ll be something like npm run storybook-build
.
Then it’ll create a directory in your project and you can upload those HTML file to anywhere you want and share your stories.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:16
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Creating a Production Build - Create React App
npm run build creates a build directory with a production build of your app. Inside the build/static directory will be your JavaScript and...
Read more >Reactjs Build Production: Optimize Performance - CopyCat Blog
In this article, we will be taking a deep dive into the Reactjs build production, deployment, and tips on optimising your app's performance....
Read more >How to tell ReactJS to build project in Production mode
Step 1: Open terminal and run the following command to create project folder of the react application: npx create-react-app myapp · Step 2:...
Read more >Optimizing Performance - React
Use the Production Build. If you're benchmarking or experiencing performance problems in your React apps, make sure you're testing with the minified production...
Read more >How to create a production build of a create react app?
This is due to CMD ["npm", "start"] . It basically uses the webpack-dev-server and your docker image is build in the development environment....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Almost done just need to cleanup the code a bit.
@adyz https://storybook.js.org/basics/exporting-storybook/