ls-age / svelte-preprocess-sass

Svelte preprocessor for sass
91 stars 6 forks source link

Sass indented syntax #98

Closed malikbenkirane closed 3 years ago

malikbenkirane commented 4 years ago

https://github.com/ls-age/svelte-preprocess-sass/blob/1820e65ba0e083543810e5f273454e2f6a14528a/src/index.js#L6

According to node-sass this should be

sassOptions = {
  indentedSyntax: true,
}

As the default value is false

For example, this should compile

<style lang=“sass”>
$primary: red
button:
  color: $primary
</style>

Otherwise I didn't managed to work with neither sass nor scss syntax.

Should I PR ?