Skip to content

Commit 29e5897

Browse files
committed
add ./convex.config.js entrypoint
1 parent e8e007f commit 29e5897

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ component by calling `use`:
5353
```ts
5454
// convex/convex.config.ts
5555
import { defineApp } from "convex/server";
56-
import twilio from "@convex-dev/twilio/convex.config";
56+
import twilio from "@convex-dev/twilio/convex.config.js";
5757

5858
const app = defineApp();
5959
app.use(twilio);

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@
5252
"./convex.config": {
5353
"types": "./dist/component/convex.config.d.ts",
5454
"default": "./dist/component/convex.config.js"
55+
},
56+
"./convex.config.js": {
57+
"types": "./dist/component/convex.config.d.ts",
58+
"default": "./dist/component/convex.config.js"
5559
}
5660
},
5761
"peerDependencies": {

0 commit comments

Comments
 (0)