isaacs / tshy

Other
886 stars 18 forks source link

Include .js and .d.ts files #90

Open thomasballinger opened 3 months ago

thomasballinger commented 3 months ago

I have some .js and .d.ts files in src/ I'd like to end up in dist/esm/ but the .tshy/esm.json doesn't include these file types.

https://github.com/isaacs/tshy/blob/fcb9003f58eac648574c660cb701624008d3c348/src/tsconfig.ts#L79-L84

Is this something that makes sense to support?

repro: git clone https://github.com/thomasballinger/tshy-repro; npm i; npx tshy and note that src/raw.js doesn't end up in dist/esm.

shaungrady commented 2 months ago

Would love to see this as well. Just hit this limitation with .d.ts.

shellscape commented 1 day ago

hit this as well this evening.