-
Notifications
You must be signed in to change notification settings - Fork 124
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
Function: nodejs.esbuild options are not getting applied #568
Comments
A potential problem I see is that we are unmarshalling esbuild from json. How does esbuild handle the conversion from javascript to go? |
@leon I was following your messages in Discord, did you make some progress on this? |
No unfortunately not. It's a bit complicated because of the typescript / go marshaling. Hope someone else can look at it soon 🤓 |
yeah this is quite tricky - we used to require you to pass in a path to a file that loaded the plugins, but don't really want to go back to that |
A solution we could do is add a config Boolean to function called experimentalDecorators which in turn adds an esbuild plugin that compiles using typescript. Only a couple of lines of code is needed. What do you think? 🤔 |
When supplying a custom esbuild config to Function it's not getting applied
The text was updated successfully, but these errors were encountered: