re: Critical CSS with Rails and Webpacker - SprocketsLess Part 1 VIEW POST


Hey nice article do you know by any chance how I could import .less files into the critical.scss


I don't really use less. but anyhow if you are able to get less files into webpacker (this could help github.com/rails/webpacker/issues/...). Then what I describred will work exactly the same. PostCSS gets the output of Webpacker so at this point it is a CSS file (not anymore Less, Sass, Scss etc)


Thank you, I try it out

Code of Conduct Report abuse