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

must set include in tsconfig.json? #58

Closed
baixiaoyu2997 opened this issue Mar 12, 2022 · 0 comments
Closed

must set include in tsconfig.json? #58

baixiaoyu2997 opened this issue Mar 12, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@baixiaoyu2997
Copy link

baixiaoyu2997 commented Mar 12, 2022

this is repo: https://codesandbox.io/s/ep58hx?file=/tsconfig.json

when i remove include setting, after yarn build , dist directory has no d.ts file

我对ts不是很熟悉,我看源码:

!includedFileSet.has(isMapFile ? filePath.slice(0, -4) : filePath) ||

includedFileSet进行了校验,但是includedFileSet只有配置了include才会被设置。

@qmhc qmhc added the enhancement New feature or request label Mar 12, 2022
@qmhc qmhc closed this as completed in 5ca7fc5 Mar 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants