Ghost/core/server/lib/image/index.js
Hannah Wolfe d9dfdd775e
Replaced image manipulation w/ @tryghost/image-transform (#11687)
- moved image.manipulation lib to a new package called @tryghost/image-transform
- new package has an updated API signature, so the method calls have changed but the underlying code is identical
- removed the optional sharp dependency from Ghost, as this is now optionally required by the image-transform module
2020-03-25 17:33:03 +00:00

18 lines
316 B
JavaScript

module.exports = {
get blogIcon() {
return require('./blog-icon');
},
get imageSize() {
return require('./image-size');
},
get gravatar() {
return require('./gravatar');
},
get imageSizeCache() {
return require('./cached-image-size-from-url');
}
};