Using this starter (npm init gatsby, selecting Wordpress) will add node-sass instead of sass (Dart Sass) to its dependencies, in contrast to the correct recommendation of the gatsby-plugin-sass plugin to install sass, instead.
Hi @martin-braun, thanks for the info! npm init gatsby isn't part of this project so I'd recommend opening this issue on the main GatsbyJS monorepo. Thanks!
LibSass, that is used by node-sass, seems to be deprecated, so node-sass won't support the nice new features like SASS Modules.
Using this starter (
npm init gatsby
, selecting Wordpress) will addnode-sass
instead ofsass
(Dart Sass) to its dependencies, in contrast to the correct recommendation of thegatsby-plugin-sass
plugin to installsass
, instead.