-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
Add esbuild transpiler #62
base: main
Are you sure you want to change the base?
Conversation
9f56eb8
to
e23be68
Compare
@@ -62,3 +62,10 @@ def esbuild(name, output_dir = False, splitting = False, config = None, **kwargs | |||
deps = deps, | |||
**kwargs | |||
) | |||
|
|||
esbuild_transpiler = rule( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets create a macro here similar to the swc one to hide things like js_outs
etc: https://github.com/aspect-build/rules_swc/blob/785f94c2bf39d3ddac4cbfd9d7786f6067209f77/swc/defs.bzl
if ctx.outputs.map_outs: | ||
action_outputs.append(ctx.outputs.map_outs[i]) | ||
|
||
ctx.actions.run( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets add a mnemonic and progress message, see swc
I think we need things such as:
|
There has not been much activity on this PR. For now, we will convert it to a draft. Please mark as ready for review when you are ready to proceed. |
I think this was fixed in #98 |
@alexeagle I think there's additional glue needed to plug esbuild into |
I see, would you like to push this one forward then? |
Yeah, I have the macro bit Jason mentioned done now, I'll polish it a bit and submit |
No description provided.