Stylus plugin for Polvo
Want to see pretty graphs? Log in now!
npm install polvo-stylus
|7||downloads in the last week|
|31||downloads in the last month|
|Last Published By|
|Version||0.1.0 last updated 8 months ago|
|Keywords||polvo, plugin, build, system, tool, stylus|
|Dependencies||source-map-support, stylus, nib, regexp-clone|
With this plugin, Polvo can handle Stylus source files.
You won't need to install it since it comes built in in Polvo.
Just put your
.styl files in your
input dirs and it will be ready for use.
There's a built in support for partials in Stylus, Polvo will handle them in a particular conventioned way.
Every file starting with
_ won't be compiled alone. Instead, if some other
file that doesn't start with
_ imports it, it will be compiled within it.
The import tag follows the Stylus include's default syntax.
To include a partial in your
- Name your patial accordingly so it starts with
Include it in any of your
stylfiles by using the syntax
Partials are referenced relatively.
Nib is play be default, don';'t need to import it in order to use.