MCPcopy
hub / github.com/postcss/postcss / isSourcesContent

Method isSourcesContent

lib/map-generator.js:244–252  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

242 }
243
244 isSourcesContent() {
245 if (typeof this.mapOpts.sourcesContent !== 'undefined') {
246 return this.mapOpts.sourcesContent
247 }
248 if (this.previous().length) {
249 return this.previous().some(i => i.withContent())
250 }
251 return true
252 }
253
254 outputFile() {
255 if (this.opts.to) {

Callers 1

generateMapMethod · 0.95

Calls 3

previousMethod · 0.95
someMethod · 0.80
withContentMethod · 0.80

Tested by

no test coverage detected