We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I would like to be able to pass an object from the global scope to the IIFE via an argument. For example:
(function (Scratch) { // do stuff })(Scratch)
Is this possible to do with esbuild?
The text was updated successfully, but these errors were encountered:
You can do that by constructing an IIFE yourself with banner and footer.
Sorry, something went wrong.
I'm closing this issue because this question has been answered.
No branches or pull requests
I would like to be able to pass an object from the global scope to the IIFE via an argument. For example:
Is this possible to do with esbuild?
The text was updated successfully, but these errors were encountered: