Skip to content

Commit d17b91c

Browse files
authored
Remove oversized images from generation
This should reduce tarball size and generation time. Fixes #285
1 parent 22bdd07 commit d17b91c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fetch_image.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const Image = require("@11ty/eleventy-img");
22
module.exports = async function (src) {
33
return await Image(src, {
4-
widths: [null, 300, 720, 940, 1200],
4+
widths: [300, 720, 940],
55
formats: ["jpeg", "png"],
66
urlPath: "/assets/images/",
77
outputDir: "./_site/assets/images/"

0 commit comments

Comments
 (0)