connorjs / css-typed

TypeScript declaration generator for CSS files
https://npmjs.com/package/css-typed
MIT License
4 stars 1 forks source link

package.json entry point #13

Closed SpiderSeb closed 3 months ago

SpiderSeb commented 3 months ago

Hello,

Could you add an entry point in your package.json please ? ("main" and/or "exports")

It will allow your package to be referenced in bundlephobia :)

connorjs commented 3 months ago

@SpiderSeb - What should main or exports point to given just bin right now?

I can point it to same JS file(s) if the idea is just to check download size for npm install (this should NOT end up in any final bundle).

connorjs commented 3 months ago

Example Bundlephobia run given OP’s request: https://bundlephobia.com/package/css-typed@0.4.1.

It has node:* issue, which looks to be same as https://github.com/pastelsky/bundlephobia/issues/677.

Calling this done.