This plugin will be one of the available options to choose from when you configure a new project using Frontvue. It handles Stylus files and comes with a boilerplate template of stylus partials. It comes with the following tasks:
- stylus:config — registers a configuration questionnaire;
- stylus:template — copies the Stylus boilerplate template (w.i.p);
- stylus:clean — removes the build folder;
- stylus:process — handles linting and compiling of Stylus partials;
- stylus:watch — starts listeners for changes in Stylus partials;
{
// Source files directory name
sourceDir: 'stylus',
// Source entry point file (all other partials are imported into this main file)
entryPoint: 'app.styl',
// Directory name where the CSS file will be created
buildDir: 'css',
// Name of the compiled CSS file
buildFilename: 'app.css',
}