summaryrefslogtreecommitdiff
path: root/node_modules/postcss/lib/map-generator.js
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2024-03-27 15:44:30 +0800
committerlittleblack111 <littleblack11111@gmail.com>2024-03-27 15:44:30 +0800
commit1c0387549700d9ce64918fb5536e37350757c7dd (patch)
tree8f27183c1f6f698afdc49017ed19821360280b51 /node_modules/postcss/lib/map-generator.js
parentbd543050c40bb988689fc20304bba0d8b4398a80 (diff)
updates
Diffstat (limited to 'node_modules/postcss/lib/map-generator.js')
-rw-r--r--node_modules/postcss/lib/map-generator.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/node_modules/postcss/lib/map-generator.js b/node_modules/postcss/lib/map-generator.js
index b5da1642..ea1ef5ec 100644
--- a/node_modules/postcss/lib/map-generator.js
+++ b/node_modules/postcss/lib/map-generator.js
@@ -52,7 +52,7 @@ class MapGenerator {
if (this.mapOpts.sourcesContent === false) {
map = new SourceMapConsumer(prev.text)
if (map.sourcesContent) {
- map.sourcesContent = map.sourcesContent.map(() => null)
+ map.sourcesContent = null
}
} else {
map = prev.consumer()