Skip to content

Commit

Permalink
[skip py] [autorelease] Put default export last in package.json.
Browse files Browse the repository at this point in the history
Bundlers like Webpack throw an error when the default export is not last.
  • Loading branch information
DanielleHuisman authored and whitequark committed Jan 17, 2024
1 parent 65cdac2 commit 899f9da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions npmjs-common/package-in.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
"gen/share/"
],
"exports": {
"default": "./gen/bundle.js",
"types": "./lib/api.d.ts"
"types": "./lib/api.d.ts",
"default": "./gen/bundle.js"
},
"types": "./lib/api.d.ts",
"devDependencies": {
Expand Down

0 comments on commit 899f9da

Please sign in to comment.