eleventy-plugin-bundle icon indicating copy to clipboard operation
eleventy-plugin-bundle copied to clipboard

Clean-up bundle files when they are no longer used.

Open zachleat opened this issue 2 years ago • 2 comments

This presents a problem when getBundleFileUrl is used for local development and the _site folder is not cleaned up. Not an issue on CI builds.

zachleat avatar Feb 06 '23 19:02 zachleat

I was just looking through the issues to see if a problem I have has already been reported, and stumbled on this one. While not related to my problem, this is something I wish eleventy did more generally, like clean-up deleted pages. For us, this is really only a problem during development. Before we deploy, we delete the output directory, build, and then git add -A the new build

carrete avatar Jul 28 '25 01:07 carrete

https://github.com/11ty/eleventy/issues/19 is the issue for core

zachleat avatar Jul 28 '25 15:07 zachleat