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

Function resolve

playground/ssr-pug/server.js:18–18  ·  view source on GitHub ↗
(p)

Source from the content-addressed store, hash-verified

16
17export async function createServer(root = process.cwd(), hmrPort) {
18 const resolve = (p) => path.resolve(import.meta.dirname, p)
19
20 const app = express()
21

Callers 3

createServerFunction · 0.70
serveFunction · 0.50
serveFunction · 0.50

Calls 1

resolveMethod · 0.65

Tested by 2

serveFunction · 0.40
serveFunction · 0.40