🔧
This commit is contained in:
5
node_modules/postcss/lib/map-generator.js
generated
vendored
5
node_modules/postcss/lib/map-generator.js
generated
vendored
@@ -16,6 +16,7 @@ class MapGenerator {
|
||||
this.root = root
|
||||
this.opts = opts
|
||||
this.css = cssString
|
||||
this.originalCSS = cssString
|
||||
this.usesFileUrls = !this.mapOpts.from && this.mapOpts.absolute
|
||||
|
||||
this.memoizedFileURLs = new Map()
|
||||
@@ -74,7 +75,7 @@ class MapGenerator {
|
||||
}
|
||||
}
|
||||
} else if (this.css) {
|
||||
this.css = this.css.replace(/(\n)?\/\*#[\S\s]*?\*\/$/gm, '')
|
||||
this.css = this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm, '')
|
||||
}
|
||||
}
|
||||
|
||||
@@ -276,7 +277,7 @@ class MapGenerator {
|
||||
}
|
||||
})
|
||||
} else {
|
||||
let input = new Input(this.css, this.opts)
|
||||
let input = new Input(this.originalCSS, this.opts)
|
||||
if (input.map) this.previousMaps.push(input.map)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user