Pipe Source Maps from Brunch to Autoprefixer
jupl opened this issue · comments
Autoprefixer can accept existing source maps. Plugin currently does not use map from Brunch, breaking source map flow. Something like this should fix it.
result = @compiler.process(data, {map: JSON.stringify(map), from: path})
Really? When I first developed this plugin I tested that, and the source maps mapped back to the original preprocessor files. I guess I'll have to check that again ...
It seems logical since the map argument in compile/optimize is currently unused.
Nope, as far as I remember brunch takes care of that automatically.
Ok. I'll probably clean my environment and try it again. I'll come back if I still have issues.