11ty / eleventy-plugin-bundle

Little bundles of code, little bundles of joy.
72 stars 3 forks source link

Bundle Sass file? #13

Closed bronze closed 7 months ago

bronze commented 1 year ago

Hi. I was reading up on the bundle and I dont know if this is possible. instead of writing the scss directly, just import a scss file into the bundle. Something like: {%- css %}{% renderFile "src/css/tailwind.scss" template=scss %}{% endcss %}

nhoizey commented 1 year ago

@bronze you can indeed do this by mixing these:

zachleat commented 7 months ago

This is an automated message to let you know that a helpful response was posted to your issue and for the health of the repository issue tracker the issue will be closed. This is to help alleviate issues hanging open waiting for a response from the original poster.

If the response works to solve your problem—great! But if you’re still having problems, do not let the issue’s closing deter you if you have additional questions! Post another comment and we will reopen the issue. Thanks!