Use a public folder here but this could be anything

This commit is contained in:
Zach Leatherman 2022-07-15 14:53:32 -05:00
parent 0eababcbe5
commit 3bc945d523
5 changed files with 3 additions and 3 deletions

View File

@ -8,9 +8,9 @@ const { EleventyI18nPlugin } = require("@11ty/eleventy");
module.exports = function(eleventyConfig) {
eleventyConfig.ignores.add("README.md");
// Copy the `img` and `css` folders to the output
eleventyConfig.addPassthroughCopy("img");
eleventyConfig.addPassthroughCopy("css");
// Copy the contents of the `public` folder to the output folder
// For example, `./public/css/` ends up in `_site/css/`
eleventyConfig.addPassthroughCopy({"./public/": "/"});
// Add plugins
eleventyConfig.addPlugin(pluginRss);