In current state dsm-storybook is incapable of supporting yarn monorepo and yarn 2 pnp approach. As far as I can tell its caused by lots of "node_modules" tight coupling whit in the package. Are there any plans of migrating into "require.resovel()" approach instead of pointing out paths imperatively ?
This issue blocks us from making the migration. Semi-solution would be option to provide our own "build-storybook" command.
Publish fails at this state:
DSM => Creating Storybook bundle...
The system cannot find the path specified.
DSM => × Failed to build Storybook. For more details, try to run "build-storybook". For further assistance visit (https://support.invisionapp.com).
In code it is looking for:
while with PnP they will never exist, that's why require.resolve is recommended.
I dont see any option to override this build command. Running "yarn build-storybook" works perfectly fine.