avancement planning
This commit is contained in:
+3
-4
@@ -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 @@ class NoWorkResult {
|
||||
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 @@ class NoWorkResult {
|
||||
}
|
||||
})
|
||||
|
||||
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) {
|
||||
|
||||
Reference in New Issue
Block a user