How to use Sass modules in Rails with Webpacker
· It is currently available in Dart Sass, which as far as I can tell is the only implementation of Sass yet to support this; none of the "big ones", libsass nor node-sass, has added support yet. This puts you in kind of a pickle, though, if you're using Webpacker to compile your CSS: Webpacker comes with a sass-loader configuration, which uses node-sass by default.