Skip to content

Add the .js extension to the logging import - #33

Open
stickerdaniel wants to merge 1 commit into
convex:mainfrom
stickerdaniel:fix/logging-import-extension
Open

stickerdaniel wants to merge 1 commit into
convex:mainfrom
stickerdaniel:fix/logging-import-extension

Conversation

@stickerdaniel

Copy link
Copy Markdown

Fixes #32.

In convex.config.ts, the import of "./logging" had no .js extension, so @convex-dev/batch-worker/convex.config.js could not be loaded in Node without a bundler. I added the extension, as on every other relative import in src, and a patch changeset.

I built dist/component/convex.config.js and imported it in Node 24. It failed before the change and loads after it. npm run check passes.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Copilot AI balanced review requested due to automatic review settings November 13, 2026 07:54

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 2 files

Re-trigger cubic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

convex.config.js fails to import in Node

2 participants