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
[Bug] Does not work with Nx #38
Labels
bug
Something isn't working
Milestone
Comments
Currently the path the tsconfig which should be used is hard-coded in the constants. Would this resolve your problem? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
In Nx, you have a root .storybook directory but the actual storybook projects are nexted in "apps/" or "libs/". As soon as you run Storybook in an Nx repo, it looks for
root/.storybook/tsconfig.json
instead of, e.g.libs/my-lib/.storybook/tsconfig.json
Workaround
Create a
.storybook/tsconfig.json
or use the existing one as a proxy configThe text was updated successfully, but these errors were encountered: