Hello, I'm currently using jekyll-postcss to use Tailwind in a Jekyll project. It's working really well with .css files, in fact it's working perfectly, but there are issues when trying to use a .scss file.
If I use a .scss file, then Tailwind will still work, but a source map will be generated even in production and minifier plugins like cssnano won't work.
Observe, .css:
.scss:
Changing only the extension causes this radical shift in behavior. Of course, I don't want to use an unminified CSS file like this in production so I will have to stick to .css for now.
Do you have any idea what could be causing this issue, and if so, how to fix it? Is this my fault or Jekyll's or jekyll-postcss's?
Hello, I'm currently using
jekyll-postcss
to use Tailwind in a Jekyll project. It's working really well with.css
files, in fact it's working perfectly, but there are issues when trying to use a.scss
file.If I use a
.scss
file, then Tailwind will still work, but a source map will be generated even in production and minifier plugins like cssnano won't work.Observe,![image](https://user-images.githubusercontent.com/4723091/121852555-83086380-cca4-11eb-94d8-f2a90929e9f1.png)
.css
:.scss
:Changing only the extension causes this radical shift in behavior. Of course, I don't want to use an unminified CSS file like this in production so I will have to stick to
.css
for now.Do you have any idea what could be causing this issue, and if so, how to fix it? Is this my fault or Jekyll's or
jekyll-postcss
's?