fullstack-build / tslog

📝 tslog - Universal Logger for TypeScript and JavaScript
https://tslog.js.org
MIT License
1.35k stars 63 forks source link

Bug: 4.7.3, no bundled types #215

Closed sachaw closed 1 year ago

sachaw commented 1 year ago

latest release breaks typescript support, downgrading to 4.7.2 resolves the issue.

TSC error:

error TS2307: Cannot find module 'tslog' or its corresponding type declarations.

Another issue that is likely related, is consuming it with vite reports:

'Failed to resolve entry for package "tslog". The package may have incorrect main/module/exports specified in its package.json.'
JoeKarow commented 1 year ago

It looks like only the browser package was built in the latest release.

image
terehov commented 1 year ago

Thanks guys. That's strange that the pre-publish build didn't run properly.

v4.7.4 fixes this.