mirror of
https://github.com/lovell/sharp.git
synced 2025-07-12 20:10:13 +02:00
Document SHARP_DIST_BASE_URL #841
This commit is contained in:
parent
72b0efd393
commit
53ff061efa
@ -193,16 +193,27 @@ configuration file to prevent the use of coders known to be vulnerable.
|
|||||||
Set the `MAGICK_CONFIGURE_PATH` environment variable
|
Set the `MAGICK_CONFIGURE_PATH` environment variable
|
||||||
to the directory containing the `policy.xml` file.
|
to the directory containing the `policy.xml` file.
|
||||||
|
|
||||||
### Licences
|
### Pre-compiled libvips binaries
|
||||||
|
|
||||||
If a global installation of libvips that meets the
|
If a global installation of libvips that meets the
|
||||||
minimum version requirement cannot be found,
|
minimum version requirement cannot be found,
|
||||||
this module will download a pre-compiled bundle of libvips
|
this module will attempt to download a pre-compiled bundle of libvips
|
||||||
and its dependencies on Linux and Windows machines.
|
and its dependencies on Linux and Windows machines.
|
||||||
|
|
||||||
Should you need to manually download and inspect these files,
|
Should you need to manually download and inspect these files,
|
||||||
you can do so via https://dl.bintray.com/lovell/sharp/
|
you can do so via https://dl.bintray.com/lovell/sharp/
|
||||||
|
|
||||||
|
Should you wish to install these from your own location,
|
||||||
|
set the `SHARP_DIST_BASE_URL` environment variable, e.g.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
SHARP_DIST_BASE_URL="https://hostname/path/" npm install sharp
|
||||||
|
```
|
||||||
|
|
||||||
|
to use `https://hostname/path/libvips-x.y.z-platform.tar.gz`.
|
||||||
|
|
||||||
|
### Licences
|
||||||
|
|
||||||
This module is licensed under the terms of the
|
This module is licensed under the terms of the
|
||||||
[Apache 2.0 Licence](https://github.com/lovell/sharp/blob/master/LICENSE).
|
[Apache 2.0 Licence](https://github.com/lovell/sharp/blob/master/LICENSE).
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user