Skip to content

Commit 1a65648

Browse files
committed
Refactor passthrough copy configuration in Eleventy to use relative paths for improved accuracy and consistency.
1 parent 7e07dd4 commit 1a65648

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.eleventy.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
* @returns {import("@11ty/eleventy").EleventyReturnValue}
55
*/
66
module.exports = (eleventyConfig) => {
7-
eleventyConfig.addPassthroughCopy({ "../styles.css": "styles.css" });
8-
eleventyConfig.addPassthroughCopy({ "../*.png": "." });
9-
eleventyConfig.addPassthroughCopy({ "../.well-known": ".well-known" });
10-
eleventyConfig.addPassthroughCopy({ "../CNAME": "CNAME" });
7+
eleventyConfig.addPassthroughCopy({ "styles.css": "styles.css" });
8+
eleventyConfig.addPassthroughCopy({ "*.png": "." });
9+
eleventyConfig.addPassthroughCopy({ ".well-known": ".well-known" });
10+
eleventyConfig.addPassthroughCopy({ "CNAME": "CNAME" });
1111

1212
eleventyConfig.setServerOptions({
1313
port: 3000

0 commit comments

Comments
 (0)