aboutsummaryrefslogtreecommitdiff
path: root/lib/minify.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/minify.js')
-rw-r--r--lib/minify.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/minify.js b/lib/minify.js
index 8dc275cf..0e117ed1 100644
--- a/lib/minify.js
+++ b/lib/minify.js
@@ -182,6 +182,8 @@ function minify(files, options) {
} else for (var name in files) if (HOP(files, name)) {
options.output.source_map.get().setSourceContent(name, files[name]);
}
+ } else {
+ options.output.source_map.get()._sourcesContents = null;
}
}
delete options.output.ast;