From 702344cb849830ee9802ac8abd0eedf8631310bb Mon Sep 17 00:00:00 2001 From: Utsob Roy Date: Thu, 2 Mar 2023 13:18:16 +0600 Subject: [PATCH] allow users to put scripts in src/site/scripts folder (#93) --- .eleventy.js | 1 + 1 file changed, 1 insertion(+) diff --git a/.eleventy.js b/.eleventy.js index 6faf7e033..efb0af649 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -297,6 +297,7 @@ module.exports = function (eleventyConfig) { }); eleventyConfig.addPassthroughCopy("src/site/img"); + eleventyConfig.addPassthroughCopy("src/site/scripts"); eleventyConfig.addPassthroughCopy("src/site/styles/_theme.*.css"); eleventyConfig.addPlugin(faviconPlugin, { destination: "dist" }); eleventyConfig.addPlugin(tocPlugin, {