aslilac / succulent

Powerful and easy runtime type checking
MIT License
32 stars 1 forks source link

JSDoc missing in published modules #10

Closed jaydenseric closed 1 year ago

jaydenseric commented 1 year ago

The source code has nice JSDoc descriptions for things that are exported:

https://github.com/aslilac/succulent/blob/959c5b7158d6a0184f4cadcc44a7cff53204b080/src/types/string.ts#L3-L6

But they seem to be striped from the published modules:

https://unpkg.com/browse/succulent@0.18.1/build/types/string.js

And the published type definitions:

https://unpkg.com/browse/succulent@0.18.1/build/types/string.d.ts

So unfortunately you don't get the JSDoc descriptions in editor intellisense:

Screenshot 2023-06-09 at 8 51 23 am

Can the build be configured to preserve these comments?