Skip to content

Commit 76c12f5

Browse files
krist7599555ymc9
andauthored
Add package.exports to @zenstack/server (#652)
Co-authored-by: Yiming <yiming@whimslab.io>
1 parent 52f345d commit 76c12f5

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

packages/server/package.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,16 @@
5555
"supertest": "^6.3.3",
5656
"ts-jest": "^29.0.5",
5757
"typescript": "^4.9.4"
58+
},
59+
"exports": {
60+
"./api/rest": "./api/rest/index.js",
61+
"./api/rpc": "./api/rpc/index.js",
62+
"./express": "./express/index.js",
63+
"./fastify": "./fastify/index.js",
64+
"./next/app-route-handler": "./next/app-route-handler.js",
65+
"./next": "./next/index.js",
66+
"./next/pages-route-handler": "./next/pages-route-handler.js",
67+
"./sveltekit": "./sveltekit/index.js",
68+
"./types": "./types.js"
5869
}
5970
}

0 commit comments

Comments
 (0)