Skip to content
Stylus plugin for Architect
JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.gitignore
README.md
index.js
package.json

README.md

architect-stylus

stylus plugin for architect

Config Format

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

Usage

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

TODO

  • Provide some tests
Something went wrong with that request. Please try again.