|
|
|
@ -313,7 +313,7 @@ function Compiler (handleImportCall) { |
|
|
|
|
while ((match = importRegex.exec(files[fileName].content))) { |
|
|
|
|
var importFilePath = match[1] |
|
|
|
|
if (importFilePath.startsWith('./')) { |
|
|
|
|
var path = /(.*\/).*/.exec(target) |
|
|
|
|
var path = /(.*\/).*/.exec(fileName) |
|
|
|
|
if (path !== null) { |
|
|
|
|
importFilePath = importFilePath.replace('./', path[1]) |
|
|
|
|
} else { |
|
|
|
|