Closed bobrocke closed 9 years ago
/cc @nDmitry
Sourcemaps are disabled by default, you should specify map: true
in autoprefixer
task options.
https://github.com/nDmitry/grunt-autoprefixer#optionsmap
Duh! Thanks! It works fine if I configure it properly. :(
Here's my gruntfile.js:
module.exports = function(grunt) {
}; Running it creates a css file and a source map with LibSass via grunt-sass. But Chrome does not recognize the source map. If I comment out the autoprefixer task, the source map is recognized by Chrome. I've tried it with grunt-contrib-sass (which uses Ruby Sass) and I find the same behavior.
It seems as if autoprefixer is messing up the source map, or the reference to it, somehow.