Skip to content
This repository was archived by the owner on Jul 13, 2020. It is now read-only.

Commit d751b21

Browse files
committed
set baseURL to process.cwd
1 parent 1a4a2d5 commit d751b21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/system.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@
319319
System.baseURL = href.substring(0, href.lastIndexOf('/') + 1);
320320
}
321321
else {
322-
System.baseURL = './';
322+
System.baseURL = process.cwd() + '/';
323323
}
324324
System.paths = { '*': '*.js' };
325325

0 commit comments

Comments
 (0)