diff --git a/index.js b/index.js index 05f4b8c..326d060 100644 --- a/index.js +++ b/index.js @@ -55,6 +55,7 @@ module.exports = function(css, options){ function error(msg) { var err = new Error(msg + ' near line ' + lineno + ':' + column); + err.filename = options.source; err.line = lineno; err.column = column; err.source = css;