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

How to pass options to node -r esbuild-runner/register? #19

Closed
IlyaSemenov opened this issue May 22, 2021 · 2 comments
Closed

How to pass options to node -r esbuild-runner/register? #19

IlyaSemenov opened this issue May 22, 2021 · 2 comments

Comments

@IlyaSemenov
Copy link

In the example:

node -r esbuild-runner/register hello-world.ts

How does one pass options to esbuild, such as for example --external:nock ?

@folke
Copy link
Owner

folke commented May 22, 2021

That's currently not supported, but I'm planning to add this in some way

folke added a commit that referenced this issue May 26, 2021
@folke
Copy link
Owner

folke commented May 26, 2021

I just made a new release that supports passing options to the API and reading of esbuild.config.js

@folke folke closed this as completed May 26, 2021
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

No branches or pull requests

2 participants