Skip to content

Commit

Permalink
fix(meta): Put 'types' first in package.json#exports (#2369)
Browse files Browse the repository at this point in the history
  • Loading branch information
donmccurdy committed Jul 5, 2024
1 parent 2c369d0 commit 09e5ce1
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 09e5ce1

Please sign in to comment.