mirror of
https://github.com/lovell/sharp.git
synced 2025-12-19 07:15:08 +01:00
Add support for statically-linked dependencies (lovell/sharp-libvips#39) (#2223)
This commit is contained in:
committed by
GitHub
parent
85459e0ec6
commit
7c1c48327e
@@ -23,7 +23,7 @@ let versions = {
|
||||
vips: sharp.libvipsVersion()
|
||||
};
|
||||
try {
|
||||
versions = require('../vendor/versions.json');
|
||||
versions = require(`../vendor/${versions.vips}/versions.json`);
|
||||
} catch (err) {}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user