Skip to content
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

docs(webpack): improve typescript usage #1395

Merged
merged 1 commit into from
Jun 28, 2019

Conversation

cdaringe
Copy link
Contributor

problem

as discussed in styleguidist/react-docgen-typescript#71 (comment), some compiler options break component discovery. the safest strategy is to always include the tsconfig from user space, which improves component detection.

solution

add .withCustomConfig call, as it's quite commonplace to for consumers to tweak their compiler settings

as discussed in styleguidist/react-docgen-typescript#71 (comment), some compiler options break component discovery.  the safest strategy is to always include the tsconfig from user space, which improves component detection.
@sapegin sapegin merged commit 87e9129 into styleguidist:master Jun 28, 2019
@sapegin
Copy link
Member

sapegin commented Jun 28, 2019

Thanks!

@cdaringe cdaringe deleted the patch-2 branch June 28, 2019 15:40
@styleguidist-bot
Copy link
Collaborator

🎉 This PR is included in version 9.1.12 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants