Skip to content

Commit

Permalink
fix: move types field to be first
Browse files Browse the repository at this point in the history
  • Loading branch information
amrbashir committed Feb 14, 2023
1 parent 7f45908 commit 7f60b91
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changes/types-package-json-exports.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"meilisearch-docsearch": "patch"
---

Re-order `types` field to be the first in package.json `exports`.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./solid": {
"types": "./dist/index.solid.d.ts",
"import": "./dist/index.solid.jsx",
"require": "./dist/index.solid.jsx",
"types": "./dist/index.solid.d.ts",
"default": "./dist/index.solid.jsx"
},
"./css": "./dist/index.css",
Expand Down

0 comments on commit 7f60b91

Please sign in to comment.