nuxt / module-builder

Complete solution to build and ship Nuxt modules.
MIT License
211 stars 22 forks source link

"bundlephobia is inaccessible" when using Shields.io badges. #273

Closed johnson86tw closed 1 month ago

johnson86tw commented 1 month ago
截圖 2024-05-21 下午3 39 01

https://bundlephobia.com/package/@vue-dapp/nuxt

截圖 2024-05-21 下午3 38 08
danielroe commented 1 month ago

This feels like a bug in bundlephobia, not really something to fix here.

johnson86tw commented 1 month ago

@danielroe yeah, I agree. But is there a way to use index.ts instead of module.ts as the entry point?

danielroe commented 1 month ago

It would be possible to do by hooking into unbuild options, but I wouldn't want to support it as I'm not aware of a need to do so, and it introduces complexity.