huozhi / bunchee

Zero config bundler for ECMAScript and TypeScript packages
https://npmjs.com/bunchee
948 stars 29 forks source link

Fix: bad lint rule for main field #421

Closed huozhi closed 10 months ago

huozhi commented 10 months ago

Fixes #420

There was a case thatmain field was not built in #268, then we introduced a rule that main cannot be index.cjs which is wrong. But it should be valid now