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