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

Function project_relative

packages/kit/src/core/sync/write_tsconfig.js:22–24  ·  view source on GitHub ↗

* @param {string} file

(file)

Source from the content-addressed store, hash-verified

20 * @param {string} file
21 */
22function project_relative(file) {
23 return posixify(path.relative('.', file));
24}
25
26/**
27 * @param {string} file

Callers 2

get_tsconfigFunction · 0.85
get_tsconfig_pathsFunction · 0.85

Calls 1

posixifyFunction · 0.90

Tested by

no test coverage detected