From 066e25cf21d72ae80a126e10f692fa8be7bc3684 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laure=CE=B7t?= Date: Thu, 19 Nov 2020 16:00:39 +0100 Subject: [PATCH] fix: addPassthroughCopy not a the right place --- .eleventy.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.eleventy.js b/.eleventy.js index e3c95ab..9a85baa 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -1,11 +1,11 @@ -eleventyConfig.addPassthroughCopy({ - "node_modules/chaffle/docs/chaffle.min.js": "javascript/chaffle.min.js" -}); - module.exports = function(eleventyConfig) { eleventyConfig.addPassthroughCopy('page/css') + eleventyConfig.addPassthroughCopy({ + "node_modules/chaffle/docs/chaffle.min.js": "javascript/chaffle.min.js" + }); + return { dir: { input: "pages"