Closed douglas-johnson closed 1 year ago
I just encountered this issue as well! It's a bug introduced in v0.9.0, so I just opened a PR with a fix.
I just encountered this issue as well! It's a bug introduced in v0.9.0, so I just opened a PR with a fix.
Thanks @Gyanreyer ! I'm glad to know it wasn't just me.
Sorry about that folks! I’ll get a v0.9.1 up shortly with this PR—thank you @Gyanreyer!
Just as a side note: "@11ty/eleventy-plugin-bundle"
is bundled by the Eleventy WebC plugin so it’s superfluous in your app package.json!
Fixed by #57
Thank you for responding to my previous comment here: https://github.com/11ty/eleventy-plugin-webc/issues/4#issuecomment-1441176246
I tried to use WebC 0.9.0 as suggested. I was able to get a single bundled CSS file, but bucketing was not working for me. Here is a reduced example of what I'm seeing.
I am on these versions of the related dependencies:
Input
eleventy.config.js
index.webc
layouts/main.webc
site-header.webc
site-footer.webc
Output
_site/index.html
_site/bundle/ZBjbc84u7A.css ( default bucket, looks like I expected )
_site/bundle/47DEQpj8HB.css ( defer bucket, empty )