12 lines
244 B
JavaScript
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
|
|
}
|