MCPcopy
hub / github.com/postcss/postcss / outputFile

Method outputFile

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

Source from the content-addressed store, hash-verified

252 }
253
254 outputFile() {
255 if (this.opts.to) {
256 return this.path(this.opts.to)
257 } else if (this.opts.from) {
258 return this.path(this.opts.from)
259 } else {
260 return 'to.css'
261 }
262 }
263
264 path(file) {
265 if (this.mapOpts.absolute) return file

Callers 3

addAnnotationMethod · 0.95
generateMapMethod · 0.95
generateStringMethod · 0.95

Calls 1

pathMethod · 0.95

Tested by

no test coverage detected