mirror of
https://github.com/lovell/sharp.git
synced 2025-07-10 11:00:14 +02:00
Changelog and docs for #1422
This commit is contained in:
parent
c89c055ae0
commit
d77c2adabe
@ -4,6 +4,12 @@
|
|||||||
|
|
||||||
Requires libvips v8.7.0.
|
Requires libvips v8.7.0.
|
||||||
|
|
||||||
|
#### v0.21.1 - TBD
|
||||||
|
|
||||||
|
* Install: support `sharp_dist_base_url` npm config, like existing `SHARP_DIST_BASE_URL`.
|
||||||
|
[#1422](https://github.com/lovell/sharp/pull/1422)
|
||||||
|
[@SethWen](https://github.com/SethWen)
|
||||||
|
|
||||||
#### v0.21.0 - 4<sup>th</sup> October 2018
|
#### v0.21.0 - 4<sup>th</sup> October 2018
|
||||||
|
|
||||||
* Deprecate the following resize-related functions:
|
* Deprecate the following resize-related functions:
|
||||||
|
@ -218,7 +218,14 @@ you can do so via
|
|||||||
[https://github.com/lovell/sharp-libvips/releases](https://github.com/lovell/sharp-libvips/releases)
|
[https://github.com/lovell/sharp-libvips/releases](https://github.com/lovell/sharp-libvips/releases)
|
||||||
|
|
||||||
Should you wish to install these from your own location,
|
Should you wish to install these from your own location,
|
||||||
set the `SHARP_DIST_BASE_URL` environment variable, e.g.
|
set the `sharp_dist_base_url` npm config option, e.g.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
npm config set sharp_dist_base_url "https://hostname/path/"
|
||||||
|
npm install sharp
|
||||||
|
```
|
||||||
|
|
||||||
|
or set the `SHARP_DIST_BASE_URL` environment variable, e.g.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
SHARP_DIST_BASE_URL="https://hostname/path/" npm install sharp
|
SHARP_DIST_BASE_URL="https://hostname/path/" npm install sharp
|
||||||
|
Loading…
x
Reference in New Issue
Block a user