Inline stylesheets using
@import
Install
$ npm install --save rework-inline
Usage
;
yields:
{ }
API
inline(opts)
Import stylesheets using @import
and an optional media query. Pass a string or
an array of paths to the path
option in where to search for stylesheets.
Options
encoding
Type: String
Default: utf8
Use if your CSS is encoded in anything other than UTF-8.
path
Type: String|Array
Default: process.cwd()
A string or an array of paths in where to look for files.
License
MIT © Kevin Mårtensson