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

Separate packages for precompiled binaries #143

Closed
rtsao opened this issue Jun 22, 2023 · 1 comment · Fixed by #144
Closed

Separate packages for precompiled binaries #143

rtsao opened this issue Jun 22, 2023 · 1 comment · Fixed by #144

Comments

@rtsao
Copy link

rtsao commented Jun 22, 2023

Both lightningcss and esbuild publish prebuilt binaries as individual npm packages which are declared as optionalDependencies. This technique allows package managers to skip downloading the binaries for irrelevant architectures/platforms.

It would be great if @parcel/watcher used the same approach. The current method is a hurdle for projects seeking to minimize the size/cost of dependencies.

I think a sensible starting place might be the GitHub Actions workflows for lightningcss or esbuild. Happy to help contribute

Related:

@devongovett
Copy link
Member

Yes, this has been on my list for a long time, but I haven't had time to work on it. If you're interested, it would be an awesome contribution!

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

Successfully merging a pull request may close this issue.

2 participants