[11ty] 1. Having trouble rendering webc template ./src/index.webc (via TemplateContentRenderError)
[11ty] 2. Evaluating a dynamic attribute failed: `:class="featureSize(size)"`.
[11ty] Original error message: featureSize is not a function (via Error)
I'm not sure how to best deal with this. Seems like js isn't accessible on the root element or something like that?
Here's a simple example of a component where I don't want a wrapping element:
This fails with:
I'm not sure how to best deal with this. Seems like js isn't accessible on the root element or something like that?