Skip to content

Commit

Permalink
We’re moving house
Browse files Browse the repository at this point in the history
  • Loading branch information
zachleat committed Feb 9, 2024
1 parent 07eab1b commit d032476
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions img.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ const sharp = require("sharp");
const brotliSize = require("brotli-size");
const {RemoteAssetCache, queue} = require("@11ty/eleventy-fetch");

const svgHook = require("./format-hooks/svg");
const MemoryCache = require("./memory-cache");
const svgHook = require("./src/format-hooks/svg.js");
const MemoryCache = require("./src/memory-cache.js");

const debug = require("debug")("EleventyImg");

Expand Down Expand Up @@ -787,7 +787,7 @@ module.exports.getHash = function getHash(src, options) {
return img.getHash();
};

const generateHTML = require("./generate-html");
const generateHTML = require("./src/generate-html.js");
module.exports.generateHTML = generateHTML;
module.exports.generateObject = generateHTML.generateObject;

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion test/test-markup.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const test = require("ava");
const eleventyImage = require("../");
const generateHTML = require("../generate-html.js");
const generateHTML = require("../src/generate-html.js");
const generateObject = generateHTML.generateObject;

test("Image markup (defaults)", async t => {
Expand Down

0 comments on commit d032476

Please sign in to comment.