-
Following the official gatsby docs on sass results in this error:
full asciinema recording of steps to reproduce sass-test.asciinema.gz There is also a discussion about using sass instead of node-sass that results in the same, with another asciinema file to reproduce the results The sass file is no different than the basic sass file from the sass docs |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
I think it's the same as #27842 (comment) You need to enable indented syntax to make it work: module.exports = {
/* Your site config here */
plugins: [
{ resolve: `gatsby-plugin-sass`, options: { indentedSyntax: true } },
],
} New MajorAlso, the new major version of the You can try it today by installing |
Beta Was this translation helpful? Give feedback.
-
shouldn't this be documented as the sass file given in the official documentation does not work without this option enabled? |
Beta Was this translation helpful? Give feedback.
-
I've tested this and sure enough the option does work with the node-sass route. However with the
in which case switching back to the normal invocation in
|
Beta Was this translation helpful? Give feedback.
I think it's the same as #27842 (comment)
You need to enable indented syntax to make it work:
New Major
Also, the new major version of the
gatsby-plugin-sass
will be published onJan 5, 2021
that will be based onsass
. See #27991You can try it today by installing
gatsby-plugin-sass@next
alongside withsass