add absPath (rel to abs)&use mainRoot in dirCss-dirJS-dirImage