css-modules-stylus
Stylus preprocessor for CSS Modules required via css-modules-require-hook or babel-plugin-css-modules-transform.
Usage
;; ;
Stylus Options
Passing options to stylus can be done by creating a default stylus instance using .defaults()
.
; ;
Babel Plugin
.babelrc
API
cssModulesStylus(contents, filename)
contents
String The contents of the stylus file.filename
String The filename of the stylus file.
.defaults([options])
options
Object Stylus Renderer options.
License
Copyright (c) 2017 9Technology