glob negation breaks passthrough file copy #4177
binyamin
started this conversation in
Enhancement Queue
Replies: 1 comment
-
|
Would be kinda funny if the fix where similar to #693 / #677, which got fixed in #709. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
If one uses glob negation with passthrough file copy, nothing is copied and there is no error or warning.
To Reproduce
@11ty/eleventyvia npm.eleventy.js, with the following contents:.txtand a.mdfile, for testing purposes.npx eleventy.mdfile is passed through.Expected behavior
If glob negation is used with passthrough file copy, the expression should be interpreted as expected. In our example, we would expect eleventy not to copy any markdown files.
Environment:
Additional context
Surfaced in #1483 (comment)
Beta Was this translation helpful? Give feedback.
All reactions