-
-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
entry
configuration isn't being overwritten in Storybook plugin
#289
Comments
What does Do you have a public repo maybe? |
I created the repo with only the basics to reproduce the issue: https://github.com/chrisvltn/knip-storybook-issue-example When running When running
When running Output
|
🚀 This issue has been resolved in v2.33.2. See Release 2.33.2 for release notes. |
Thanks @chrisvltn! The repro helped a lot, very useful. |
Oh almost forgot, the config for Storybook can now be simplified a bit to this: const config = {
storybook: {
config: 'components/storybook/main.ts',
entry: 'components/storybook/{manager,preview}.{ts,tsx}'
}
}; |
Amazing! Thank you for the quick fix :) |
In our project we're storing Storybook-related files in a non-standard directory (usually
.storybook
), and have this set in thestorybook
settings inknip.js
Sadly, since version
2.32.0
,knip
started pointing out a few dependencies that are actually being imported and used in thepreview
fileThe text was updated successfully, but these errors were encountered: