lix-website/themes/lix/assets/bootstrap/node_modules/@stylelint/postcss-css-in-js/object-parse.js
2024-04-26 22:49:34 -06:00

16 lines
309 B
JavaScript

'use strict';
const Input = require('postcss/lib/input');
const ObjectParser = require('./object-parser');
function objectParse(source, opts) {
const input = new Input(source, opts);
const parser = new ObjectParser(input);
parser.parse(opts.node);
return parser.root;
}
module.exports = objectParse;