Skip to content

Commit

Permalink
fix(package.json): use publishConfig for npm package module resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
waldronmatt committed Jun 10, 2024
1 parent 1092a8e commit 6e866f3
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions packages/lit-override/package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,22 @@
{
"name": "@waldronmatt/lit-override",
"version": "2.2.1",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./*": "./dist/*",
"./src/*": "./src/*"
},
"publishConfig": {
"access": "public",
"types": "./dist/index.d.ts",
"module": "./dist/index.js",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./*": "./dist/*"
}
},
"files": [
"dist/*",
"LICENSE",
Expand All @@ -32,9 +37,6 @@
"build": "pnpm build:src",
"clean": "rimraf dist coverage tsconfig.build.tsbuildinfo"
},
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/waldronmatt/groundwork.git",
Expand Down

0 comments on commit 6e866f3

Please sign in to comment.