Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds support for requiring external modules on startup #550

Merged
merged 2 commits into from
Mar 30, 2022

Conversation

TwitchBronBron
Copy link
Member

@TwitchBronBron TwitchBronBron commented Mar 29, 2022

Adds the ability to require external modules as part of the CLI startup process. This allows bsc users to hook up things like ts-node/loader to run their plugins as pure typescript instead of needing a transpile step.

Usage example:

npx bsc --require ts-node/register --plugins ./plugin.ts

@TwitchBronBron TwitchBronBron merged commit aecec56 into master Mar 30, 2022
@TwitchBronBron TwitchBronBron deleted the require-support branch March 30, 2022 09:54
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