MCPcopy
hub / github.com/postcss/postcss / urlOf

Function urlOf

test/css-syntax-error.test.ts:282–284  ·  view source on GitHub ↗
(file: string)

Source from the content-addressed store, hash-verified

280
281test('uses source map', () => {
282 function urlOf(file: string): string {
283 return pathToFileURL(join(__dirname, file)).toString()
284 }
285
286 let concat = new Concat(true, join(__dirname, 'build', 'all.css'))
287 concat.add(urlOf('a.css'), 'a { }\n')

Callers 1

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…