MCPcopy
hub / github.com/vitejs/vite / resolve

Function resolve

playground/optimize-missing-deps/server.js:9–9  ·  view source on GitHub ↗
(p)

Source from the content-addressed store, hash-verified

7
8export async function createServer(root = process.cwd(), hmrPort) {
9 const resolve = (p) => path.resolve(import.meta.dirname, p)
10
11 const app = express()
12

Callers 2

createServerFunction · 0.70
serveFunction · 0.50

Calls 1

resolveMethod · 0.65

Tested by

no test coverage detected