🔥 Drop redundant main/types fields

exports already declares types + import for the root entry, so the
top-level main/types pair was duplicate metadata. publint and attw stay
green with exports alone, verified against a packed consumer install.
This commit is contained in:
tmu committed 2026-09-10 22:42:32 +00:00
1 parent 8d1a03f025
commit 0b461c233f
2 files changed
+2 -4

No files matched your search

-2
View File
@@ -27,8 +27,6 @@
],
"type": "module",
"sideEffects": false,
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",