Nested Package.json Storybook with Parcel

Viewed 178

I am looking for a way use storybooks parcel-preview in a sub-package of my main project. The goal is to have storybook as a dependency only within the storybook folder.

The structure would be:

storybook/
  package.json
src/
package.json

storybook/package.json: main package.json

scripts in ~/package.json: nested package.json

The issue that I am running into however, is that storybook is not inheriting the dependencies of the main project, and I am receiving errors like this: error

0 Answers
Related