Skip to content

Commit

Permalink
Merge pull request #253 from ThaUnknown/fix-default
Browse files Browse the repository at this point in the history
fix: default imports should always be last
  • Loading branch information
murat-dogan authored May 30, 2024
2 parents de151a0 + d1867d0 commit d59c64c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,22 @@
"exports": {
".": {
"import": {
"default": "./lib/index.js",
"types": "./lib/index.d.ts"
"types": "./lib/index.d.ts",
"default": "./lib/index.js"
},
"require": {
"default": "./lib/index.cjs",
"types": "./lib/index.d.cts"
"types": "./lib/index.d.cts",
"default": "./lib/index.cjs"
}
},
"./polyfill": {
"import": {
"default": "./polyfill/index.js",
"types": "./polyfill/index.d.ts"
"types": "./polyfill/index.d.ts",
"default": "./polyfill/index.js"
},
"require": {
"default": "./polyfill/index.cjs",
"types": "./polyfill/index.d.cts"
"types": "./polyfill/index.d.cts",
"default": "./polyfill/index.cjs"
}
}
},
Expand Down

0 comments on commit d59c64c

Please sign in to comment.