Eleventy WebC v0.7.0
Breaking Changes
- BREAKING: 🚨 You will need to use
@raw
instead of@html
in your Eleventy Layout files to avoid double-processing WebC content. See this comment or on the WebC docs: https://www.11ty.dev/docs/languages/webc/#css-and-js-(bundler-mode)- (This re-enables reprocessing mode in Eleventy Layouts so that you can use render functions to return components in Layout Files #20)
- BREAKING: Adds a default
components
glob:./_components/**/*.webc
(project root relative) #14
Fixes
- Fix for
permalink
rendering in webc files (uses the same as dynamic attributes now) #27 - Fix for
webc:type="11ty"
#16 - Leftover
uid
styles during--watch
or--serve
#17 - Config leftovers 11ty/eleventy#2642 (via
@11ty/eleventy@2.0.0-canary.17
)
WebC version updates:
- v0.7.1 https://github.com/11ty/webc/releases/tag/v0.7.1
@raw
webc:if
webc:type="js"
- v0.7.0 https://github.com/11ty/webc/releases/tag/v0.7.0
Milestone: https://github.com/11ty/eleventy-plugin-webc/milestone/5?closed=1
Full Changelog: v0.6.0...v0.7.0