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

Is it possible to use sass when working with WebC in bundler mode? #83

Open MartyNZ opened 1 year ago

MartyNZ commented 1 year ago

If so, is there some documentation covering the implementation?

djwebdroid commented 1 year ago

Eleventy webc uses the eleventy-plugin-bundle under the hood. So you would add your sass as a transform in your eleventy config: https://github.com/11ty/eleventy-plugin-bundle/#use-with-webc

The example on that link uses postcss. But it will give you a general idea on how to proceed.

Hope this helps