From 8b9879e2ee96ea5072385ca9908c7ddada2ce798 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=98=BF=E7=AC=A0?= Date: Sun, 26 Apr 2015 21:34:34 +0800 Subject: [PATCH] Fix: fix the 'undefined' string in the css file issue. There is an incorrect 'undefined' string in the css file after processing by source-map-loader. --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index abbdc57..8381550 100644 --- a/index.js +++ b/index.js @@ -90,6 +90,6 @@ module.exports = function(input, inputMap) { }); return; } - callback(null, input.replace(match[0], match[2]), map); + callback(null, input.replace(match[0], ''), map); } }