You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello sir, I have seen that problem in #21 and #20, to deal with it, can you make an option to decide the path is either absolute or relative? For example: function replaceStringsWithRequires(string, option) { return string.replace(stringRegex, function (match, quote, url) { if (url.charAt(0) !== "." && !option) { url = "./" + url; } return "require('" + url + "')"; }); }
The text was updated successfully, but these errors were encountered:
Hello sir, I have seen that problem in #21 and #20, to deal with it, can you make an option to decide the path is either absolute or relative? For example:
function replaceStringsWithRequires(string, option) { return string.replace(stringRegex, function (match, quote, url) { if (url.charAt(0) !== "." && !option) { url = "./" + url; } return "require('" + url + "')"; }); }
The text was updated successfully, but these errors were encountered: