🔥 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:
1 parent
8d1a03f025
commit
0b461c233f
2 files changed
+2
-4
No files matched your search
@@ -27,8 +27,6 @@
|
||||
],
|
||||
"type": "module",
|
||||
"sideEffects": false,
|
||||
"main": "./dist/index.js",
|
||||
"types": "./dist/index.d.ts",
|
||||
"exports": {
|
||||
".": {
|
||||
"types": "./dist/index.d.ts",
|
||||
|
||||
Reference in new issue
Block a user