fix(daemon): prefer index.js over index.ts in workflow loader #218

Closed
xiaoju wants to merge 1 commits from fix/217-prefer-js-over-ts into main
Owner

Swap candidate order in loadWorkflowDefinition — .js before .ts.

Node cannot natively import .ts files with .js extension specifiers. When both exist (compiled workflow), always load the compiled .js.

1 line change.

Fixes #217

Swap candidate order in loadWorkflowDefinition — .js before .ts. Node cannot natively import .ts files with .js extension specifiers. When both exist (compiled workflow), always load the compiled .js. 1 line change. Fixes #217
xiaoju added 1 commit 2026-04-28 05:11:13 +00:00
Node cannot natively import .ts files with .js extension specifiers.
When both exist, always load the compiled .js.

Fixes #217
xiaoju closed this pull request 2026-04-28 05:18:45 +00:00
This repo is archived. You cannot comment on pull requests.
No Reviewers
No Label
1 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: uncaged/nerve#218