diff --git a/index.js b/index.js index f7df93b..6ccc36d 100644 --- a/index.js +++ b/index.js @@ -5,9 +5,9 @@ var stringRegex = /(['"])((?:[^\\]\\\1|.)*?)\1/g; function replaceStringsWithRequires(string) { return string.replace(stringRegex, function (match, quote, url) { - if (url.charAt(0) !== ".") { - url = "./" + url; - } + //if (url.charAt(0) !== ".") { + // url = "./" + url; + //} return "require('" + url + "')"; }); }