Skip to content

Commit 0f8194f

Browse files
committed
feat: add server to exports
In order to support using `@google-cloud/functions-framework` in integration tests, add `./server` to exports, mapped to "./build/src/server.js"
1 parent 759aac1 commit 0f8194f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"types": "build/src/index.d.ts",
1111
"exports": {
1212
".": "./build/src/index.js",
13-
"./testing": "./build/src/testing.js"
13+
"./testing": "./build/src/testing.js",
14+
"./server": "./build/src/server.js"
1415
},
1516
"dependencies": {
1617
"@types/express": "4.17.13",

0 commit comments

Comments
 (0)