Last active
October 6, 2018 23:49
-
-
Save kevgk/da39c741042650a0fb4a162f4a2f921f to your computer and use it in GitHub Desktop.
Compile sass in pug filter (:sass)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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