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

[Package]: esbuild #11873

Closed
1 task done
ravener opened this issue Sep 11, 2022 · 4 comments · Fixed by #13658
Closed
1 task done

[Package]: esbuild #11873

ravener opened this issue Sep 11, 2022 · 4 comments · Fixed by #13658
Labels
package request A new package was requested.

Comments

@ravener
Copy link
Member

ravener commented Sep 11, 2022

Why do you want to add this package to Termux?

An extremely fast JavaScript and CSS bundler and minifier

Home page URL

https://esbuild.github.io

Source code URL

https://github.com/evanw/esbuild

Packaging policy acknowledgement

Additional information

Package is written in Go and compiles without any issues on Termux.

@ravener ravener added the package request A new package was requested. label Sep 11, 2022
@2096779623
Copy link
Member

2096779623 commented Sep 11, 2022

@ravener
Copy link
Member Author

ravener commented Sep 11, 2022

@2096779623 no it does not require electron, ignore those package.json stuff, focus on the golang code only, that's all we need for the cli tool. Notably cmd/esbuild is what we need.

@2096779623
Copy link
Member

@2096779623 no it does not require electron, ignore those package.json stuff, focus on the golang code only, that's all we need for the cli tool.

But its use on nodejs is temporarily impossible :p .
Let's try to build it with golang.

@ravener
Copy link
Member Author

ravener commented Sep 11, 2022

@2096779623 no it does not require electron, ignore those package.json stuff, focus on the golang code only, that's all we need for the cli tool.

But its use on nodejs is temporarily impossible :p .
Let's try to build it with golang.

Yeah we can't do anything about nodejs usage since npm needs to manage that when you use it in your app, hence its up to the main package author to do that. They already support arm64 npm binaries but said he won't add arm. (See evanw/esbuild#2335)

Outside of node, the cli tool alone is more than enough, can be used independently from nodejs, to bundle/minify css/js and such.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package request A new package was requested.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants