postcss 8.4.2 → 8.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of postcss might be problematic. Click here for more details.
- package/lib/map-generator.js +2 -2
- package/lib/no-work-result.js +1 -0
- package/lib/processor.js +1 -1
- package/package.json +1 -1
package/lib/map-generator.js
CHANGED
@@ -84,7 +84,7 @@ class MapGenerator {
|
|
84
84
|
this.root.removeChild(i)
|
85
85
|
}
|
86
86
|
}
|
87
|
-
} else {
|
87
|
+
} else if (this.css) {
|
88
88
|
this.css = this.css.replace(/(\n)?\/\*#[\S\s]*?\*\/$/gm, '')
|
89
89
|
}
|
90
90
|
}
|
@@ -104,7 +104,7 @@ class MapGenerator {
|
|
104
104
|
}
|
105
105
|
}
|
106
106
|
})
|
107
|
-
} else {
|
107
|
+
} else if (this.css) {
|
108
108
|
let from = this.opts.from
|
109
109
|
? this.toUrl(this.path(this.opts.from))
|
110
110
|
: '<no source>'
|
package/lib/no-work-result.js
CHANGED
package/lib/processor.js
CHANGED