fis-parser-stylus2

1.0.2 • Public • Published

fis-parser-stylus2

A fis parser plugin to compile stylus file.

install

$ npm install -g fis-parser-stylus2
//fis-conf.js
 
fis.config.set('modules.parser.styl', 'stylus2');
fis.config.set('settings.parser.stylus2.define', {enable: true, color: '#000'});//you can add your settings
fis.config.set('settings.parser.stylus2.sourcemap', false);//use sourcemap or not, there are some bugs in stylus modules when it is opened
fis.config.set('roadmap.ext.styl', 'css');
 
$ fis release -d ./output

example

see example

Readme

Keywords

Package Sidebar

Install

npm i fis-parser-stylus2

Weekly Downloads

2

Version

1.0.2

License

MIT

Last publish

Collaborators

  • lwdgit