Skip to content

Commit

Permalink
fix: put types first in exports map (#10880)
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann committed Nov 17, 2022
1 parent c0fe7f9 commit a6f1183
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions package.json
Expand Up @@ -14,16 +14,16 @@
"main": "./dist/chart.js",
"exports": {
".": {
"import": "./dist/chart.js",
"types": "./dist/types.d.ts"
"types": "./dist/types.d.ts",
"import": "./dist/chart.js"
},
"./auto": {
"import": "./auto/auto.js",
"types": "./auto/auto.d.ts"
"types": "./auto/auto.d.ts",
"import": "./auto/auto.js"
},
"./helpers": {
"import": "./helpers/helpers.js",
"types": "./helpers/helpers.d.ts"
"types": "./helpers/helpers.d.ts",
"import": "./helpers/helpers.js"
}
},
"types": "./dist/types.d.ts",
Expand Down

0 comments on commit a6f1183

Please sign in to comment.