From b86dd4e0597aee250026c6fdc71533cc03b62f96 Mon Sep 17 00:00:00 2001 From: Nick Lamicela Date: Sun, 15 Sep 2024 19:18:19 +0000 Subject: [PATCH] allow adding patches --- .gitignore | 2 ++ eleventy.config.js | 1 + 2 files changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 83253a1..9036546 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,5 @@ _site/ node_modules/ package-lock.json .cache +patches + diff --git a/eleventy.config.js b/eleventy.config.js index d37672c..f6dc237 100644 --- a/eleventy.config.js +++ b/eleventy.config.js @@ -13,6 +13,7 @@ const pluginDrafts = require("./eleventy.config.drafts.js"); module.exports = function(eleventyConfig) { eleventyConfig.addPassthroughCopy("content/**/*.png"); eleventyConfig.addPassthroughCopy('content/**/*.css'); + eleventyConfig.addPassthroughCopy({ "patches": "/" }); // Run Eleventy when these files change: // https://www.11ty.dev/docs/watch-serve/#add-your-own-watch-targets