Is styleguidist a dev or prod dependency?
Currently xpub-styleguide
and react-styleguidist
are dev dependencies of xpub-ui
and other packages. Assuming we want to deploy a styleguide we have three options:
- Do a dev install (what I will do for the time being, but not a real option) and choose one or more packages to deploy the styleguide from. Result: separate website created for each package.
- Create a new package with the requisite config to point styleguidist to the components in all the other packages, and make
react-styleguidist
a prod dependency of this package. Result: one website with the components from all xpub packages. - Do the latter in
xpub-styleguide
.
Think I'm in favour or 2.