I am trying to find an easy way to export Sass maps to a json format so they can be used in my js as well. I have found multiple libraries around but they all are doing the opposite (from what I can tell) aka using js variables in sass.
TL DR; Is there a way to export sass maps to JSON format?
Preferably in gulp as I am using this for build automation.
Found libraries:
- SassyJSON
- Scss to json <= doesn't take maps
- Sassport <= does only the opposite (?) docs really unclear to me
- Sassy export <= looks good, how to use in gulp?
- Node sass export <= can't get it to output a file, docs confusing