WXL
3 天以前 2cc85c64f1c64a2dbaeae276a3e2ca8420de76b7
node_modules/postcss/lib/no-work-result.js
@@ -2,7 +2,7 @@
let MapGenerator = require('./map-generator')
let parse = require('./parse')
const Result = require('./result')
let Result = require('./result')
let stringify = require('./stringify')
let warnOnce = require('./warn-once')
@@ -65,10 +65,9 @@
    this._css = css
    this._opts = opts
    this._map = undefined
    let root
    let str = stringify
    this.result = new Result(this._processor, root, this._opts)
    this.result = new Result(this._processor, undefined, this._opts)
    this.result.css = css
    let self = this
@@ -78,7 +77,7 @@
      }
    })
    let map = new MapGenerator(str, root, this._opts, css)
    let map = new MapGenerator(str, undefined, this._opts, css)
    if (map.isMap()) {
      let [generatedCSS, generatedMap] = map.generate()
      if (generatedCSS) {