Skip to content

Commit

Permalink
Fix export conditions order to avoid webpack `Default condition shoul…
Browse files Browse the repository at this point in the history
…d be last one` error
  • Loading branch information
airhorns committed Oct 2, 2024
1 parent fa44180 commit aaed054
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/fastify-renderer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@
"description": "Simple, high performance client side app renderer for Fastify.",
"exports": {
".": {
"default": "./node/index.js",
"import": "./node/index.js"
"import": "./node/index.js",
"default": "./node/index.js"
},
"./client/react": {
"default": "./client/react/index.js",
"import": "./client/react/index.js"
"import": "./client/react/index.js",
"default": "./client/react/index.js"
},
"./client/react/DefaultLayout": {
"default": "./client/react/DefaultLayout.js",
"import": "./client/react/DefaultLayout.js"
"import": "./client/react/DefaultLayout.js",
"default": "./client/react/DefaultLayout.js"
},
"./package": "./package.json",
"./package.json": "./package.json"
Expand Down

0 comments on commit aaed054

Please sign in to comment.