11ty / eleventy-plugin-webc

Adds support for WebC *.webc files to Eleventy
https://www.11ty.dev/docs/languages/webc/
119 stars 10 forks source link

Fix CSS and JS not getting bundled for non-default buckets #57

Closed Gyanreyer closed 1 year ago

Gyanreyer commented 1 year ago

Hello again! I was just working on migrating my project to v0.9.0 and am loving the new changes, but I have some <script> and <style> tags with webc:bucket="defer" set and noticed that they weren't making it into the final output anymore. It looks like someone has already opened an issue here: #56

I was able to find and fix the bug and added some tests to cover it.

Thanks!

zachleat commented 1 year ago

Wow, awesome—good catch! This will go up with v0.9.1