safe-parse.js 243 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 let { Input } = require('postcss') let SafeParser = require('./safe-parser') module.exports = function safeParse (css, opts) { let input = new Input(css, opts) let parser = new SafeParser(input) parser.parse() return parser.root }