@11ty/eleventy-img
Version:
Low level utility to perform build-time image transformations.
17 lines (12 loc) • 354 B
JavaScript
const MemoryCache = require("./memory-cache.js");
const DiskCache = require("./disk-cache.js");
const ExistsCache = require("./exists-cache.js");
let memCache = new MemoryCache();
let existsCache = new ExistsCache();
let diskCache = new DiskCache();
diskCache.setExistsCache(existsCache);
module.exports = {
memCache,
diskCache,
existsCache
};