Open joekukish opened 11 years ago
I’m assuming you know this, but it already runs server side in node.js.
I have no experience with Rhino support for node modules, though a quick google search brought up http://mulesoft.github.io/rhinodo/
My server side is actually java. We were using LESS before and to compile it in the server we were loading Rhino and then less.js runs over it. For the case of stylus since its a node application this is not possible. I tried using the browser version [0] but of course i'm running into some problems.
Your issue there may be that stylus !== styl. styl is built on top of rework which also has a built js file intended for us in the browser. You may find some promise walking down that path.
Yeah sorry for the confusion. I'll try with the browser file that you use.
Is it possible to run styl on server side using Rhino?