From b2d8c86dbb93eb1732098a95831db37aba379aa8 Mon Sep 17 00:00:00 2001 From: Natalia Luzuriaga Date: Wed, 22 Nov 2023 09:48:01 -0800 Subject: [PATCH] Removed vite plugin due to passthrough copy bug Signed-off-by: Natalia Luzuriaga --- app/.eleventy.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/app/.eleventy.js b/app/.eleventy.js index 7ff291eb82..86ca94a52c 100644 --- a/app/.eleventy.js +++ b/app/.eleventy.js @@ -1,7 +1,6 @@ const fs = require("fs") const path = require("path") const Image = require("@11ty/eleventy-img") -const EleventyVitePlugin = require("@11ty/eleventy-plugin-vite") const lucideIcons = require("@grimlink/eleventy-plugin-lucide-icons"); const { baseurl } = require("./site/_data/site"); require("dotenv").config() @@ -76,10 +75,9 @@ module.exports = function (eleventyConfig) { "src/css": "css", "site/_graphs": "assets/img/graphs", "node_modules/@uswds/uswds/dist/img": "assets/img", - }) + }); eleventyConfig.setLiquidOptions({ outputEscape: "escape" }) - eleventyConfig.addPlugin(EleventyVitePlugin) eleventyConfig.addPlugin(lucideIcons, { "class": "custom-class", "width": 17, @@ -99,6 +97,6 @@ module.exports = function (eleventyConfig) { }, templateFormats: ["html", "md", "liquid", "11ty.js"], passthroughFileCopy: true, - pathPrefix, + pathPrefix } }