-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Feature request: can config the registry url #286
Comments
Can you say why you would want to do this? Is this causing esbuild to be broken for you? The install script downloads the packages from the npm registry because the packages are only ever published to the npm registry. |
In China, can not download this package from the npmjs registry or the speed is very slow. If can config the registry url, we can download from cnpm or similar mirror site. |
Kind of related, I am behind a proxy and the request seems not to take my HTTPS_PROXY export into account. |
Version 0.6.6 should now respect the configured npm registry. Read the release notes for more details. Note that I haven't fully tested this so it'd be great to get independent confirmation that it works as expected. I only verified that the configuration setting causes the download to be redirected to the new domain instead of going to the npm registry. |
esbuild/npm/esbuild/install.js
Line 20 in 2abe024
idea:
config the
https://registry.npmjs.org
fromyarn config get registry
orENV
.The text was updated successfully, but these errors were encountered: