Skip to content

Commit 2172793

Browse files
committed
add ./convex.config.js entrypoint
1 parent 6b725ae commit 2172793

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
@@ -90,7 +90,7 @@ Then, install the component within your `convex/convex.config.ts` file:
9090

9191
```ts
9292
// convex/convex.config.ts
93-
import workflow from "@convex-dev/workflow/convex.config";
93+
import workflow from "@convex-dev/workflow/convex.config.js";
9494
import { defineApp } from "convex/server";
9595

9696
const app = defineApp();

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@
4949
"./convex.config": {
5050
"types": "./dist/component/convex.config.d.ts",
5151
"default": "./dist/component/convex.config.js"
52+
},
53+
"./convex.config.js": {
54+
"types": "./dist/component/convex.config.d.ts",
55+
"default": "./dist/component/convex.config.js"
5256
}
5357
},
5458
"peerDependencies": {

0 commit comments

Comments
 (0)