Skip to content

Commit aaed054

Browse files
committed
Fix export conditions order to avoid webpack Default condition should be last one error
1 parent fa44180 commit aaed054

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

packages/fastify-renderer/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@
44
"description": "Simple, high performance client side app renderer for Fastify.",
55
"exports": {
66
".": {
7-
"default": "./node/index.js",
8-
"import": "./node/index.js"
7+
"import": "./node/index.js",
8+
"default": "./node/index.js"
99
},
1010
"./client/react": {
11-
"default": "./client/react/index.js",
12-
"import": "./client/react/index.js"
11+
"import": "./client/react/index.js",
12+
"default": "./client/react/index.js"
1313
},
1414
"./client/react/DefaultLayout": {
15-
"default": "./client/react/DefaultLayout.js",
16-
"import": "./client/react/DefaultLayout.js"
15+
"import": "./client/react/DefaultLayout.js",
16+
"default": "./client/react/DefaultLayout.js"
1717
},
1818
"./package": "./package.json",
1919
"./package.json": "./package.json"

0 commit comments

Comments
 (0)