We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a34b6ca commit c8e5bc5Copy full SHA for c8e5bc5
lib/map-generator.js
@@ -84,7 +84,7 @@ class MapGenerator {
84
this.root.removeChild(i)
85
}
86
87
- } else {
+ } else if (this.css) {
88
this.css = this.css.replace(/(\n)?\/\*#[\S\s]*?\*\/$/gm, '')
89
90
@@ -104,7 +104,7 @@ class MapGenerator {
104
105
106
})
107
108
let from = this.opts.from
109
? this.toUrl(this.path(this.opts.from))
110
: '<no source>'
lib/no-work-result.js
@@ -8,6 +8,7 @@ const Result = require('./result')
8
9
class NoWorkResult {
10
constructor(processor, css, opts) {
11
+ css = css.toString()
12
this.stringified = false
13
14
this._processor = processor
0 commit comments