Skip to content

Commit

Permalink
add "./" prefix to each item in "exports"
Browse files Browse the repository at this point in the history
  • Loading branch information
uenoB committed Dec 9, 2023
1 parent ace3393 commit 94aaa76
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
6 changes: 3 additions & 3 deletions packages/render-preact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"main": "dist/index.cjs",
"exports": {
".": {
"types": "dist/index.d.ts",
"import": "dist/index.js",
"default": "dist/index.cjs"
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"default": "./dist/index.cjs"
},
"./package.json": "./package.json"
},
Expand Down
6 changes: 3 additions & 3 deletions packages/render-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"main": "dist/index.cjs",
"exports": {
".": {
"types": "dist/index.d.ts",
"import": "dist/index.js",
"default": "dist/index.cjs"
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"default": "./dist/index.cjs"
},
"./package.json": "./package.json"
},
Expand Down
6 changes: 3 additions & 3 deletions packages/render-solid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"main": "dist/index.cjs",
"exports": {
".": {
"types": "dist/index.d.ts",
"import": "dist/index.js",
"default": "dist/index.cjs"
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"default": "./dist/index.cjs"
},
"./package.json": "./package.json"
},
Expand Down
6 changes: 3 additions & 3 deletions packages/render-svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"main": "dist/index.cjs",
"exports": {
".": {
"types": "dist/index.d.ts",
"import": "dist/index.js",
"default": "dist/index.cjs"
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"default": "./dist/index.cjs"
},
"./package.json": "./package.json"
},
Expand Down
6 changes: 3 additions & 3 deletions packages/render-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"main": "dist/index.cjs",
"exports": {
".": {
"types": "dist/index.d.ts",
"import": "dist/index.js",
"default": "dist/index.cjs"
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"default": "./dist/index.cjs"
},
"./package.json": "./package.json"
},
Expand Down

0 comments on commit 94aaa76

Please sign in to comment.