architect-stylus

Stylus plugin for Architect

architect-stylus

stylus plugin for architect

{
  "packagePath": "./node_modules/architect-stylus",
  "src": __dirname+"/assets",
  "dest": __dirname+"/target",
  // Compress the output 
  "compress": true,
  // Forces recompilation for every request 
  "force": true
}

Now we mount /target as a static path and we can access our stylesheets at http://0.0.0.0:{port}/{cssFolder}/{file.css} and it will be compiled on the fly

  • Provide some tests