Skip to content

Commit d40f73f

Browse files
committed
add ./convex.config.js entrypoint
1 parent 5befaa7 commit d40f73f

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
@@ -89,7 +89,7 @@ component by calling `use`:
8989
```ts
9090
// convex/convex.config.ts
9191
import { defineApp } from "convex/server";
92-
import prosemirrorSync from "@convex-dev/prosemirror-sync/convex.config";
92+
import prosemirrorSync from "@convex-dev/prosemirror-sync/convex.config.js";
9393

9494
const app = defineApp();
9595
app.use(prosemirrorSync);

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@
6464
"./convex.config": {
6565
"types": "./dist/component/convex.config.d.ts",
6666
"default": "./dist/component/convex.config.js"
67+
},
68+
"./convex.config.js": {
69+
"types": "./dist/component/convex.config.d.ts",
70+
"default": "./dist/component/convex.config.js"
6771
}
6872
},
6973
"peerDependencies": {

0 commit comments

Comments
 (0)