You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
express itself is rather bulky and could be swapped out. I just did that in the Svelte repo, which luckily only took me a few lines there: sveltejs/svelte#12155
storybook's dependency tree depends on the flavour of entrypoint you use.
so for this example, let's use the web-components package:
https://npmgraph.js.org/?q=@storybook/web-components-vite
there's quite a lot of deep subtrees we can probably trim out here.
good subtrees to remove are:
assert
Depended on by:
@storybook/docs-tools
@storybook/csf-tools
-> recastqs
Depended on by:
@storybook/core-common
- may already be gone in 8.x!@storybook/channels
- used hereqs
from@storybook/manager-api
&@storybook/channels
storybookjs/storybook#26285@storybook/router
- used hereIn most cases, we can likely either:
URLSearchParams
read-pkg-up
This has some use but the dependency tree is bloated for what it is, and there are more performant solutions.
If possible, we should use read-package-json-fast from npm themselves.
We could use
fd-package-json
:https://github.com/es-tooling/fd-package-json
The text was updated successfully, but these errors were encountered: