declarationDir
outputs extra src
folder? -- need to set rootDir
in tsconfig
#64
Labels
kind: support
Asking for support with something or a specific use case
solution: tsc behavior
This is tsc's behavior as well, so this is not a bug with this plugin
Uh oh!
There was an error while loading. Please reload this page.
What happens and why it is wrong
I'm rewriting my library (https://github.com/szimek/signature_pad) to TypeScript - this is the first time I'm working with this language. I've specified
declarationDir: 'dist/types'
intsconfig.js
and setuseTsconfigDeclarationDir: true
. However, after building the library, the declaration files end up indist/types/src
. Is it supposed to be like this? If not, how can I change it, so that they end up directly indist/types
?Versions
rollup.config.js
https://github.com/szimek/signature_pad/blob/typescript/rollup.config.js
tsconfig.json
https://github.com/szimek/signature_pad/blob/typescript/tsconfig.json
package.json
https://github.com/szimek/signature_pad/blob/typescript/package.json
The text was updated successfully, but these errors were encountered: