Skip to content

Conversation

@onairmarc
Copy link
Member

This pull request updates the build configuration in vite.config.ts to ensure the generated cli entry point includes the proper Node.js shebang, improving its usability as a command-line tool.

Build configuration improvement:

  • Added a banner function to the rollupOptions.output configuration to prepend the Node.js shebang (#!/usr/bin/env node) to the cli output chunk, ensuring it can be executed directly as a CLI script.

@onairmarc onairmarc merged commit 3942a01 into main Jan 26, 2026
@onairmarc onairmarc deleted the onairmarc-patch-1 branch January 26, 2026 14:23
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.

2 participants