mirror of
https://github.com/hanzoai/postcss.git
synced 2026-09-24 17:01:56 +00:00
13 lines
253 B
JavaScript
13 lines
253 B
JavaScript
var Parser = require('./parser');
|
|
var Input = require('./input');
|
|
|
|
module.exports = function (css, opts) {
|
|
var input = new Input(css, opts);
|
|
|
|
var parser = new Parser(input);
|
|
parser.tokenize();
|
|
parser.loop();
|
|
|
|
return parser.root;
|
|
};
|