diff --git a/index.js b/index.js index 0614a4a..4f8176c 100644 --- a/index.js +++ b/index.js @@ -23,7 +23,7 @@ module.exports = function (options) { if (file.sourceMap) { opts.sourceComments = 'map'; - opts.sourceMap = false; + opts.sourceMap = file.path; } if (opts.sourceComments === 'map' || opts.sourceComments === 'normal') {