Revert "chore: 11ty img"

This reverts commit 73eb06739e.
This commit is contained in:
Cory Dransfeldt 2024-06-06 15:33:48 -07:00
parent 73eb06739e
commit 2c18ab1030
No known key found for this signature in database
23 changed files with 270 additions and 728 deletions

View file

@ -1,7 +1,6 @@
import syntaxHighlight from '@11ty/eleventy-plugin-syntaxhighlight'
import tablerIcons from '@cdransf/eleventy-plugin-tabler-icons'
import lightningCSS from '@11tyrocks/eleventy-plugin-lightningcss'
import { eleventyImageTransformPlugin } from "@11ty/eleventy-img";
import markdownIt from 'markdown-it'
import markdownItAnchor from 'markdown-it-anchor'
import markdownItFootnote from 'markdown-it-footnote'
@ -24,14 +23,6 @@ export default async function (eleventyConfig) {
eleventyConfig.addPlugin(syntaxHighlight)
eleventyConfig.addPlugin(tablerIcons)
eleventyConfig.addPlugin(lightningCSS)
eleventyConfig.addPlugin(eleventyImageTransformPlugin, {
extensions: 'html',
formats: ['webp', 'jpeg'],
defaultAttributes: {
loading: 'lazy',
decoding: 'async',
},
});
// quiet build output
eleventyConfig.setQuietMode(true)
@ -44,7 +35,6 @@ export default async function (eleventyConfig) {
// passthrough
eleventyConfig.addPassthroughCopy('src/assets')
eleventyConfig.addPassthroughCopy('_redirects')
eleventyConfig.addPassthroughCopy('_headers')
eleventyConfig.addPassthroughCopy({
'node_modules/minisearch/dist/umd/index.js': 'assets/scripts/components/minisearch.js',
})