MCPcopy
hub / github.com/sveltejs/kit / relative

Function relative

packages/kit/src/core/sync/write_server.js:118–120  ·  view source on GitHub ↗

@param {string} file

(file)

Source from the content-addressed store, hash-verified

116
117 /** @param {string} file */
118 function relative(file) {
119 return posixify(path.relative(`${output}/server`, file));
120 }
121
122 // Contains the stringified version of
123 /** @type {import('types').SSROptions} */

Callers 1

write_serverFunction · 0.85

Calls 1

posixifyFunction · 0.90

Tested by

no test coverage detected