Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Passthrough Copy to / with --incremental makes output folder a file instead 馃槵 #2278

Closed
zachleat opened this issue Mar 16, 2022 · 1 comment

Comments

@zachleat
Copy link
Member

zachleat commented Mar 16, 2022

eleventyConfig.addPassthroughCopy({
  public: "/"
});
  1. Add the above to your config file
  2. Add a file to public directory.
  3. run Eleventy using --incremental (and watch/serve)
  4. Save the file, triggering an incremental build.

Output folder _site becomes a file instead 馃槵

Reproduced in 1.x and 2.x

@zachleat zachleat self-assigned this Mar 16, 2022
@zachleat zachleat changed the title Passthrough Copy to / with incremental makes output folder a file instead 馃槵 Passthrough Copy to / with --incremental makes output folder a file instead 馃槵 Mar 16, 2022
@zachleat zachleat added this to the Eleventy 1.0.1 milestone Mar 16, 2022
@zachleat
Copy link
Member Author

Will ship with Eleventy 1.0.1 and 2.0.0-canary.4

zachleat added a commit that referenced this issue Mar 17, 2022
zachleat added a commit that referenced this issue Mar 17, 2022
pull bot pushed a commit to r4b3rt/eleventy that referenced this issue Mar 17, 2022
@zachleat zachleat added the feature: 馃梽 passthrough copy Related to the passthrough file copy feature label Jun 24, 2022
zachleat added a commit that referenced this issue Jun 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant