add "exports" field to fix node16 module resolution (#1007)

This commit is contained in:
Samuel Stroschein
2022-11-16 16:19:43 +01:00
committed by GitHub
parent b559c2345a
commit 0e77d8a459

View File

@@ -11,6 +11,12 @@
"web-types": "dist/web-types.json",
"type": "module",
"types": "dist/shoelace.d.ts",
"exports": {
".": {
"types": "./dist/shoelace.d.ts",
"import": "./dist/shoelace.js"
}
},
"files": [
"dist"
],