Add support for 'normal' sourceComments
This commit is contained in:
parent
7748e84eb8
commit
cb279fb9e2
4
index.js
4
index.js
|
@ -20,7 +20,7 @@ module.exports = function (options) {
|
|||
return cb();
|
||||
}
|
||||
|
||||
if (opts.sourceComments === 'map') {
|
||||
if (opts.sourceComments === 'map' || opts.sourceComments === 'normal') {
|
||||
opts.file = file.path;
|
||||
} else {
|
||||
opts.data = file.contents.toString();
|
||||
|
@ -84,4 +84,4 @@ function getSourcesContent (sources) {
|
|||
}
|
||||
|
||||
return sourcesContent;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue