Timonwa/demo-ui-library

"types" value in package.json does not match types file generated

Closed this issue · 0 comments

In the rollup config the types file is output to dist/types.d.ts:
https://github.com/Timonwa/demo-ui-library/blob/main/rollup.config.mjs#L36
image

In the package.json the types file is referenced as dist/index.d.ts:
https://github.com/Timonwa/demo-ui-library/blob/main/package.json#L8
image

This means applications importing packages made using this repo as a base cannot find the types file.