How to use the Input function from postcss

Find comprehensive JavaScript postcss.Input code examples handpicked from public code repositorys.

0
1
2
3
4
5
6
7
8
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()
fork icon37
star icon623
watch icon16

+ 3 other calls in file