Closed huozhi closed 4 months ago
"require": "./dist/font.js",
It's already using ESM and .js extension, it should be treated as a ESM package.
.js
Fix the dual exports (both CJS and ESM) since the CJS exports are not valid. rename default to types since those type files are for typing
default
types
What
"require": "./dist/font.js",
this condition is wrong, geist doesn't have CJS bundleWhy
It's already using ESM and
.js
extension, it should be treated as a ESM package.Fix the dual exports (both CJS and ESM) since the CJS exports are not valid. rename
default
totypes
since those type files are for typing