Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

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

Keywords

install

npm i fis-parser-stylus2

Downloadsweekly downloads

11

version

1.0.2

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability