Open zachleat opened 1 year ago
let elev = new Eleventy("./test/bundler-to-file/", "./test/bundler-to-file/_site", { configPath: "./test/generic.eleventy.config.js" });
eleventyConfig.dir.output only has _site here: https://github.com/11ty/eleventy-plugin-bundle/blob/ff0565ffcfcf2d0d9b668591408beb4cf518db00/eleventy.shortcodes.js#L64
eleventyConfig.dir.output
_site
so the bundle file gets written to ./_site/ rather than ./test/bundler-to-file/_site/.
./_site/
./test/bundler-to-file/_site/
Circle back to https://github.com/11ty/eleventy-plugin-webc/blob/08407c7a155d0486a1a8606fa13dbf6f454e6406/test/test.js#L499
eleventyConfig.dir.output
only has_site
here: https://github.com/11ty/eleventy-plugin-bundle/blob/ff0565ffcfcf2d0d9b668591408beb4cf518db00/eleventy.shortcodes.js#L64so the bundle file gets written to
./_site/
rather than./test/bundler-to-file/_site/
.