privatenumber / pkgroll

📦 Zero-config package bundler for Node.js + TypeScript
MIT License
1.01k stars 23 forks source link

Recommendation to move type to dependency #32

Open privatenumber opened 1 year ago

privatenumber commented 1 year ago

The recommendation to move type to dependency should only happen when bundling types:

Recommendation: "@types/ini" is externalized because "ini" is in "dependencies". Place "@types/ini" in "dependencies" as well so users don't have missing types.

And ideally, if the type dependency is imported.