1.1.2 • Published 6 years ago

@frontvue/plugin-stylus v1.1.2

Weekly downloads
5
License
MIT
Repository
github
Last release
6 years ago

Frontvue-Plugin-Stylus

Build Status codecov Commitizen friendly semantic-release

A Frontvue plugin for Stylus boilerplate and processing

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;

Default configuration

{
  // 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',
}