diff --git a/src/main/base/org/bdware/sc/node/ImportNode.java b/src/main/base/org/bdware/sc/node/ImportNode.java index 6e24cbf..345cb63 100644 --- a/src/main/base/org/bdware/sc/node/ImportNode.java +++ b/src/main/base/org/bdware/sc/node/ImportNode.java @@ -16,6 +16,8 @@ public class ImportNode { public String getPath() { if (path.startsWith("@")) return path.replaceAll("@", "/.depyjs/"); + if(!path.startsWith("/")) + return "/" + path; return path; } }