Skip to content

Instantly share code, notes, and snippets.

@kevgk
Last active October 6, 2018 23:49
Show Gist options
  • Save kevgk/da39c741042650a0fb4a162f4a2f921f to your computer and use it in GitHub Desktop.
Save kevgk/da39c741042650a0fb4a162f4a2f921f to your computer and use it in GitHub Desktop.
Compile sass in pug filter (:sass)
pug({
filters: {
'sass': data => sass.renderSync({ data }).css.toString()
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment