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