Skip to content

Commit 6a706eb

Browse files
committed
Simplify passthrough
1 parent 04528dd commit 6a706eb

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

eleventy.config.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,7 @@ export default function (eleventyConfig) {
9494
eleventyConfig.addPassthroughCopy('src/content/assets/dash');
9595
eleventyConfig.addPassthroughCopy('src/content/assets/js');
9696
eleventyConfig.addPassthroughCopy({'site-shared/packages/inject_dartpad/lib/inject_dartpad.js': 'assets/js/inject_dartpad.js'});
97-
eleventyConfig.addPassthroughCopy('src/content/assets/img/404-bg-pattern.jpg');
98-
eleventyConfig.addPassthroughCopy('src/content/assets/img/logo');
99-
eleventyConfig.addPassthroughCopy('src/content/assets/img/social');
97+
eleventyConfig.addPassthroughCopy('src/content/assets/img', { expand: true });
10098
eleventyConfig.addPassthroughCopy('src/content/f', {
10199
expand: true,
102100
filter: /^(?!_).+/,

0 commit comments

Comments
 (0)