totaljs/modules

Stylus @require and @import dont work

CertainLach opened this issue · 0 comments

While i trying to use (For example) @import "./public/css/common.styl",
i getting this error in console:

Error: stylus:1:9
   1| @import "common.styl"
--------------^
   2| 
   3| .errorName
   4|     position absolute

failed to locate @import file common.styl

    ...
    at Renderer.render (/home/ubuntu/workspace/NGSpaceNG/node_modules/stylus/lib/renderer.js:86:26)
    at /home/ubuntu/workspace/NGSpaceNG/modules/stylus.js:55:69
    at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:415:3)