public
/
clean-css.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c8f9c0
)
See #857 - removes redundant source map code.
author
Jakub Pawlowicz
<contact@jakubpawlowicz.com>
Sun, 15 Jan 2017 11:25:15 +0000
(12:25 +0100)
committer
Jakub Pawlowicz
<contact@jakubpawlowicz.com>
Sun, 15 Jan 2017 11:26:26 +0000
(12:26 +0100)
Thanks to @alexlamsl for spotting it.
Why:
* Tracking input source map is done in #minify method already.
lib/reader/read-sources.js
patch
|
blob
|
history
diff --git
a/lib/reader/read-sources.js
b/lib/reader/read-sources.js
index
82c34ec
..
fe2a01f
100644
(file)
--- a/
lib/reader/read-sources.js
+++ b/
lib/reader/read-sources.js
@@
-49,10
+49,6
@@
function fromString(input, context, callback) {
context.sourcesContent[undefined] = input;
context.stats.originalSize += input.length;
- if (context.options.sourceMap && (typeof context.options.sourceMap !== 'boolean')) {
- trackSourceMap(context.options.sourceMap, undefined, context);
- }
-
return fromStyles(input, context, { inline: context.options.inline }, callback);
}