Skip to content

Commit a6c057e

Browse files
committed
add ./convex.config.js entrypoint
1 parent 0f7aa83 commit a6c057e

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
@@ -37,7 +37,7 @@ Next, add the component to your Convex app via `convex/convex.config.ts`:
3737

3838
```ts
3939
import { defineApp } from "convex/server";
40-
import resend from "@convex-dev/resend/convex.config";
40+
import resend from "@convex-dev/resend/convex.config.js";
4141

4242
const app = defineApp();
4343
app.use(resend);

package.json

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

0 commit comments

Comments
 (0)