Skip to content

Commit

Permalink
fix(meta): Put 'types' first in package.json#exports
Browse files Browse the repository at this point in the history
  • Loading branch information
donmccurdy committed Apr 8, 2024
1 parent d10dc62 commit a478ee1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@
"module": "dist/index.js",
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts",
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts"
"import": "./dist/index.js"
},
"./maplibre": {
"import": "./dist/exports-maplibre.js",
"types": "./dist/exports-maplibre.d.ts",
"require": "./dist/exports-maplibre.cjs",
"types": "./dist/exports-maplibre.d.ts"
"import": "./dist/exports-maplibre.js"
}
},
"files": [
Expand Down

0 comments on commit a478ee1

Please sign in to comment.