Skip to content

Commit a71dd93

Browse files
committed
add ./convex.config.js entrypoint
1 parent c094fc8 commit a71dd93

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
@@ -70,7 +70,7 @@ component by calling `use`:
7070
```ts
7171
// convex/convex.config.ts
7272
import { defineApp } from "convex/server";
73-
import migrations from "@convex-dev/migrations/convex.config";
73+
import migrations from "@convex-dev/migrations/convex.config.js";
7474

7575
const app = defineApp();
7676
app.use(migrations);

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)