nDmitry / grunt-autoprefixer

Parse CSS and add vendor-prefixed CSS properties using the Can I Use database. Based on Autoprefixer.
MIT License
795 stars 60 forks source link

CSS map getting stripped #51

Closed MartinDoyleUK closed 10 years ago

MartinDoyleUK commented 10 years ago

I'm using the latest SASS, grunt-contrib-sass and grunt-autoprefixer. In fact, I just upgraded the grunt-autoprefixer today, and now the CSS map line at the end of the .css file that SASS outputs ...

/*# sourceMappingURL=ecc.css.map */

... is getting stripped by the autoprefixer task.

This didn't happen with older versions. Perhaps an inadvertent bug? If not, then am I doing something wrong, possibly? I'm not sure I've changed anything in my project though that could in any way affect this.

nDmitry commented 10 years ago

@MartinDoyleUK the map option got a new API since v0.8, please refer here for the docs.

MartinDoyleUK commented 10 years ago

Thank you for explaining. I'm afraid I hadn't spotted that in the documentation. Must take more note!