I'm using @eleventy v3 with the Bundle/Render plugins to render #Sass assets, itβs awesome. π
BUT!
In my code:
```
{% if sub_galleries_number > 0 %}
{%- css "critical" %}{% renderFile "src/assets/sass/components/sub_galleries.scss" %}{% endcss %}
{% include 'components/sub_galleries.njk' %}
{% endif %}
```
If I move `{%- css "critical" %}β¦{% endcss %}` inside the included Nunjucks βcomponentβ, this component doesn't render anymore in the HTML of the page, without any warning or error. π₯Ή
Eleventy π v3.0.0
in reply to Nicolas Hoizey • • •Nicolas Hoizey
in reply to Eleventy π v3.0.0 • • •Eleventy π v3.0.0
in reply to Nicolas Hoizey • • •Nicolas Hoizey
in reply to Eleventy π v3.0.0 • • •the repo is here: github.com/nhoizey/nicolas-hoiβ¦
But my project has become quite complex, so please don't prioritize this, if I'm the only one reporting this issue. There are better ways to spend your time.
GitHub - nhoizey/nicolas-hoizey.photo: Nicolas Hoizey's photography portfolio
GitHub