diff --git a/.eleventy.js b/.eleventy.js index ede6a78..f5585ee 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -8,8 +8,6 @@ import { feedPlugin } from "@11ty/eleventy-plugin-rss"; import markdownIt from "markdown-it"; import anchor from "markdown-it-anchor"; import attributes from "markdown-it-attrs"; -import { minify } from "terser"; -import { extname } from "path"; const headerIconLink = (slug, _, state, idx) => { const linkTokens = [ @@ -93,16 +91,6 @@ export default function (config) { .use(attributes), ); - // Minify js files - // config.addTransform("min.js", async (content, outputPath) => { - // if (outputPath && extname(outputPath) == ".js") { - // const js = await minify(content, {}); - // return js.code; - // } - // - // return content; - // }); - return { dir: { includes: "_includes",