chore: make the moduleid loader working on safari (#3532)
This commit is contained in:
parent
faf3ca6837
commit
8f1acc5b43
|
@ -23,7 +23,7 @@ module.exports.translate = function(load){
|
|||
|
||||
load.source = load.source
|
||||
.replace(templateUrlRegex, function(match, quote, url){
|
||||
let resolvedUrl = url;
|
||||
var resolvedUrl = url;
|
||||
|
||||
if (url.startsWith('.')) {
|
||||
resolvedUrl = basePath + url.substr(1);
|
||||
|
|
Loading…
Reference in New Issue