KaiHotz / react-rollup-boilerplate

Boilerplate for creating React component libraries, bundled with Rollup.js to ESM and/or CJS Modules, Storybook, Typescript
https://kaihotz.github.io/react-rollup-boilerplate/
MIT License
301 stars 68 forks source link

Documentation request: Removal of styleguide #13

Closed aManNamedJed closed 4 years ago

aManNamedJed commented 4 years ago

First off 👍 on this package, it does exactly what I need and then some. Works great with Material UI right out of the box. With that said, I would like to perhaps be able to remove the styleguide, as , in my case, I am going to use Storybook. Here is what I came up with as a checklist:

  1. Remove the styleguide directory from the root
  2. Remove the styleguide:build,predeploy, and deploy scripts from package.json
  3. Remove gh-pages and react-styleguidist as a depedency in package.json
aManNamedJed commented 4 years ago

Can I perhaps remove webpack.js too from config?

KaiHotz commented 4 years ago

@jdarrohn Yes this is exactly what you need to remove to remove the styleguide from it. You might want to keep webpack.js due to I believe that storybook also needs a webpack.js file to run.