eleventy-plugin-bundle
eleventy-plugin-bundle copied to clipboard
Clean-up bundle files when they are no longer used.
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.
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
https://github.com/11ty/eleventy/issues/19 is the issue for core