13 lines
1.3 KiB
JavaScript
13 lines
1.3 KiB
JavaScript
"use strict";
|
|
|
|
var Input = require('postcss/lib/input');
|
|
|
|
var Parser = require('./parser');
|
|
|
|
module.exports = function (sass, opts) {
|
|
var input = new Input(sass, opts);
|
|
var parser = new Parser(input);
|
|
parser.parse();
|
|
return parser.root;
|
|
};
|
|
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInBhcnNlLmVzNiJdLCJuYW1lcyI6WyJJbnB1dCIsInJlcXVpcmUiLCJQYXJzZXIiLCJtb2R1bGUiLCJleHBvcnRzIiwic2FzcyIsIm9wdHMiLCJpbnB1dCIsInBhcnNlciIsInBhcnNlIiwicm9vdCJdLCJtYXBwaW5ncyI6Ijs7QUFBQSxJQUFNQSxLQUFLLEdBQUdDLE9BQU8sQ0FBQyxtQkFBRCxDQUFyQjs7QUFFQSxJQUFNQyxNQUFNLEdBQUdELE9BQU8sQ0FBQyxVQUFELENBQXRCOztBQUVBRSxNQUFNLENBQUNDLE9BQVAsR0FBaUIsVUFBQ0MsSUFBRCxFQUFPQyxJQUFQLEVBQWdCO0FBQy9CLE1BQUlDLEtBQUssR0FBRyxJQUFJUCxLQUFKLENBQVVLLElBQVYsRUFBZ0JDLElBQWhCLENBQVo7QUFFQSxNQUFJRSxNQUFNLEdBQUcsSUFBSU4sTUFBSixDQUFXSyxLQUFYLENBQWI7QUFDQUMsRUFBQUEsTUFBTSxDQUFDQyxLQUFQO0FBRUEsU0FBT0QsTUFBTSxDQUFDRSxJQUFkO0FBQ0QsQ0FQRCIsInNvdXJjZXNDb250ZW50IjpbImNvbnN0IElucHV0ID0gcmVxdWlyZSgncG9zdGNzcy9saWIvaW5wdXQnKVxuXG5jb25zdCBQYXJzZXIgPSByZXF1aXJlKCcuL3BhcnNlcicpXG5cbm1vZHVsZS5leHBvcnRzID0gKHNhc3MsIG9wdHMpID0+IHtcbiAgbGV0IGlucHV0ID0gbmV3IElucHV0KHNhc3MsIG9wdHMpXG5cbiAgbGV0IHBhcnNlciA9IG5ldyBQYXJzZXIoaW5wdXQpXG4gIHBhcnNlci5wYXJzZSgpXG5cbiAgcmV0dXJuIHBhcnNlci5yb290XG59XG4iXX0=
|