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

Make esbuild options available to plugins #927

Closed
thomaschaaf opened this issue Mar 6, 2021 · 2 comments
Closed

Make esbuild options available to plugins #927

thomaschaaf opened this issue Mar 6, 2021 · 2 comments

Comments

@thomaschaaf
Copy link

thomaschaaf commented Mar 6, 2021

It would be good if the plugins could access the esbuild options. E.g. I would like to access the tsconfig passed in.

Currently they are not available see: https://esbuild.github.io/plugins/#load-arguments

@evanw
Copy link
Owner

evanw commented Mar 6, 2021

Yes, I agree. I plan to do this but still haven't done it yet. Closing as a duplicate of #373.

@evanw evanw closed this as completed Mar 6, 2021
@evanw
Copy link
Owner

evanw commented Mar 20, 2021

Support for this is in the latest release. Documentation is here: https://esbuild.github.io/plugins/#build-options.

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