epiphany/node_modules/postcss-scss/lib/scss-parse.js
2023-12-09 22:48:07 -08:00

12 lines
244 B
JavaScript

let { Input } = require('postcss')
let ScssParser = require('./scss-parser')
module.exports = function scssParse(scss, opts) {
let input = new Input(scss, opts)
let parser = new ScssParser(input)
parser.parse()
return parser.root
}