I just spent a couple of hours figuring out why I kept getting syntax errors along the lines of:
Error: expected ";".
I figured out pretty quickly that the plugin was parsing this without using the indented syntax, even though my files were being imported as .sass files, not .scss files.
After digging through the Sass Javascript API options I found the indentedSyntax option which was passed through by the plugin.
I think the documentation should:
Make it more clear that you can use the options of the Sass Javascript API
Especially point out the indentedSyntax option
I'm happy to make these changes to the docs as a PR if needed.
One other thing on this: while looking through the sourcecode I noticed that the include option is being used, though it doesn't seem to be documented either.
I just spent a couple of hours figuring out why I kept getting syntax errors along the lines of:
Error: expected ";".
I figured out pretty quickly that the plugin was parsing this without using the indented syntax, even though my files were being imported as
.sass
files, not.scss
files.After digging through the Sass Javascript API options I found the
indentedSyntax
option which was passed through by the plugin.I think the documentation should:
indentedSyntax
optionI'm happy to make these changes to the docs as a PR if needed.