Skip to content

Add --script flag to override template.js location#64

Merged
alecthomas merged 1 commit intomainfrom
add-script-flag
Mar 18, 2026
Merged

Add --script flag to override template.js location#64
alecthomas merged 1 commit intomainfrom
add-script-flag

Conversation

@alecthomas
Copy link
Copy Markdown
Collaborator

Add a --script flag (type:existingfile) that allows users to specify a
custom JavaScript file for template functions instead of the default
template.js. The javascript Extension now handles absolute paths by
reading the file directly and computing the relative path for the
exclude pattern.

Add a --script flag (type:existingfile) that allows users to specify a
custom JavaScript file for template functions instead of the default
template.js. The javascript Extension now handles absolute paths by
reading the file directly and computing the relative path for the
exclude pattern.
@alecthomas alecthomas merged commit 63ac5e7 into main Mar 18, 2026
4 checks passed
@alecthomas alecthomas deleted the add-script-flag branch March 18, 2026 03:39
alecthomas added a commit that referenced this pull request Mar 18, 2026
Add a --script flag (type:existingfile) that allows users to specify a
custom JavaScript file for template functions instead of the default
template.js. The javascript Extension now handles absolute paths by
reading the file directly and computing the relative path for the
exclude pattern.

Co-authored-by: Claude Code <noreply@anthropic.com>
Ai-assisted: true
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.

1 participant