fixed issue sourceMap
This commit is contained in:
parent
faf9757164
commit
88a7afdc11
2
index.js
2
index.js
|
@ -23,7 +23,7 @@ module.exports = function (options) {
|
||||||
|
|
||||||
if (file.sourceMap) {
|
if (file.sourceMap) {
|
||||||
opts.sourceComments = 'map';
|
opts.sourceComments = 'map';
|
||||||
opts.sourceMap = false;
|
opts.sourceMap = file.path;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (opts.sourceComments === 'map' || opts.sourceComments === 'normal') {
|
if (opts.sourceComments === 'map' || opts.sourceComments === 'normal') {
|
||||||
|
|
Loading…
Reference in a new issue