Tailwind plugin wanders into scss
files then crashes on build
#2420
Labels
bug
Something isn't working.
scss
files then crashes on build
#2420
When adding included Tailwind plugin to an existing project with sass/scss files in static directory, the plugin on
buildStart
will walk the static directory in search for css files. However when it bumps intoscss
files which postcss isn't able to parse, it throws the error below:Seemingly caused by the line below in the plugin, which matches any files ending with
css
, including*.scss
. Changingexts
from"css"
to".css"
seemed to solve the issue, but I'm not 100% sure if this was due to a design decision or simply a bug.https://github.com/denoland/fresh/blob/main/plugins/tailwind.ts#L103
The text was updated successfully, but these errors were encountered: