jsconfig ignored? #304
Labels
kind: feature
New feature or request
scope: upstream
Issue in upstream dependency
solution: workaround available
There is a workaround available for this issue
What happens and why it is wrong
I was struggling with generating JSDoc typings for a library using Microdundle. It generated
index.d.ts
but none of the imported files. The root issue was missing"include" : ["src"]
(inspired by #211). I tried adding it tojsconfig.json
after scouring issues here as well as in Microbundle and TSDX. I finally tried renaming totsconfig.json
and resolved my issue.Suggested fix
Arguably this might belong in Microbundle if JSDoc typings aren't an intended use case for this plugin? Or just manually pass "jsconfig.json".
rollup-plugin-typescript2/src/parse-tsconfig.ts
Lines 13 to 17 in cffc4da
Environment
Versions
From
package-lock.json
(envinfo doesn't list nested dependencies):rollup.config.js
`rollup.config.js`:
https://github.com/developit/microbundle/blob/v0.14.2/src/index.js#L523-L556
tsconfig.json
`tsconfig.json`:
include
(described above) is the only key intsconfig.json
.package.json
`package.json`:
plugin output with verbosity 3
plugin output with verbosity 3:
The text was updated successfully, but these errors were encountered: