postcss-map
postcss-map copied to clipboard
Is it possible to write maps inside one of my .scss files?
Hey, I was wondering if there was a way to use the maps like actual sass maps inside of my source files scss or sass files, or does it have to be .yml ?
Thanks in Advance!
Hi,
the plugin does not implement the whole parsing and tooling as Sass does, and most probably will not, so currently no, not possible, your maps have to be either in an external file or passed as an object.
If you have SCSS or Sass files, why not using Sass maps?
well that's sad. The only thing that's really missing in postcss so far. Anyway, keep up the great work ;)!
i just call my soruce files like "*.scss" because i am still using postcss-scss syntax. its no actual sass.
Check out this comment and issue.
Re-implementing Sass like map features would be quite some work I think, to make it as good. If someone want to tackle this, why not. I'm not interested personally.