shift73k/assets_old/node_modules/postcss-scss/lib/scss-parse.js

12 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
}