Skip to content

Commit 4cf85c6

Browse files
author
David
authored
Merge pull request #6 from dannsam/patch-1
Pass incoming sourcemaps to CleanCSS
2 parents d24923a + 05741ac commit 4cf85c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module.exports = function(css, map) {
99
var loader = this;
1010
var callback = this.async();
1111

12-
new CleanCSS(cleanCssOpti).minify(css, function(err, minified) {
12+
new CleanCSS(cleanCssOpti).minify(css, map, function(err, minified) {
1313
if (err) {
1414
if (Array.isArray(err) && (err[0] != null)) {
1515
return callback(err[0]);

0 commit comments

Comments
 (0)