makestatic-parse-css
v1.0.30
Published
Parses CSS files to an abstract syntax tree
Downloads
2
Readme
Parse CSS
Parse CSS files to an AST
Parses CSS output files to an abstract syntax tree.
Install
yarn add makestatic-parse-css
API
ParseCss
Parses CSS files to abstract syntax trees.
See Also
.sources
ParseCss.prototype.sources(file, context[, options])
Parse a file to an abstract syntax tree, the parsed AST is assigned
to file.ast.css
.
This implementation assigns a seal
function to the file so that when
the file content is updated it will correspond to the current state of
the AST.
file
Object the current file.context
Object the processing context.options
Object options forpostcss
.
License
MIT
Created by mkdoc on March 12, 2017