problem description
-
After
lerna
executeslerna bootstrap
, each componentpackage
has its own set ofnode_module
, and thesenode_module
are used for packaging. -
storybook
also has its own set ofnode_module
. Thesenode_module
are used to run storybook and look at components.
Project directory is packages directory and storybook src directory is equal
so two sets of node_module are difficult to manage,
- it is possible that
storybook
runs well, but there is a problem with packaging - may be packaged. There is a problem running under
storybook
.
do you artificially avoid the above situation?
is it possible that I put packages in the src directory to reuse node_module
of storybook
?