makestatic-parse-css

1.0.30 • Public • Published

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 for postcss.

License

MIT


Created by mkdoc on March 12, 2017

Package Sidebar

Install

npm i makestatic-parse-css

Weekly Downloads

2

Version

1.0.30

License

MIT

Last publish

Collaborators

  • muji
  • tmpfs