diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2024-03-27 15:44:30 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2024-03-27 15:44:30 +0800 |
| commit | 1c0387549700d9ce64918fb5536e37350757c7dd (patch) | |
| tree | 8f27183c1f6f698afdc49017ed19821360280b51 /node_modules/postcss/lib/map-generator.js | |
| parent | bd543050c40bb988689fc20304bba0d8b4398a80 (diff) | |
updates
Diffstat (limited to 'node_modules/postcss/lib/map-generator.js')
| -rw-r--r-- | node_modules/postcss/lib/map-generator.js | 2 |
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() |
