Package Exports
- bin-wrapper-china
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (bin-wrapper-china) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
bin-wrapper-china
Binary mirror download link replacement for mainland China.
Fork from bin-wrapper.
Install
Use yarn to replace bin-wrapper.
// package.json
{
"resolutions": {
"bin-wrapper": "npm:bin-wrapper-china"
}
}yarn installAPI
Same as bin-wrapper.
Inject mirror url to process.env
// package.json
{
"scripts": {
"preinstall": "china-bin-env"
}
}