at-import / node-sass-import-once

Eyeglass style Import Once, but for all the things!
Other
94 stars 23 forks source link

Json import functionality #3

Closed mil closed 9 years ago

mil commented 9 years ago

It'd be nice if we could import json files to be converted to sass-maps..

e.g: @include'ing mymap.json:

{
  "one": "a",
  "two": "b"
}

Would be imported to be refered in sass as if it were defined like:

$mymap: (
  'one': 'a', 
  'two': 'b'
);