Skip to content

Commit

Permalink
chore: move default to be last in package.json exports
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSoki authored and cawa-93 committed Jan 7, 2025
1 parent 0590a12 commit c6352b5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions packages/main/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
},
"exports": {
".": {
"default": "./dist/index.js",
"types": "./src/index.ts"
"types": "./src/index.ts",
"default": "./dist/index.js"
}
},
"dependencies": {
Expand Down
8 changes: 4 additions & 4 deletions packages/preload/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
},
"exports": {
".": {
"default": "./dist/_virtual_browser.mjs",
"types": "./src/index.ts"
"types": "./src/index.ts",
"default": "./dist/_virtual_browser.mjs"
},
"./exposed.mjs": {
"default": "./dist/exposed.mjs",
"types": "./src/exposed.d.ts"
"types": "./src/exposed.d.ts",
"default": "./dist/exposed.mjs"
}
},
"devDependencies": {
Expand Down

0 comments on commit c6352b5

Please sign in to comment.