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

Function resolve

playground/css-lightningcss-proxy/server.js:17–17  ·  view source on GitHub ↗
(p)

Source from the content-addressed store, hash-verified

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

Callers 7

createServerFunction · 0.70
vite.config.jsFile · 0.50
serveFunction · 0.50
vite.config.jsFile · 0.50
startedOnPortFunction · 0.50
vite.config.jsFile · 0.50
startedOnPortFunction · 0.50

Calls 1

resolveMethod · 0.65

Tested by 3

serveFunction · 0.40
startedOnPortFunction · 0.40
startedOnPortFunction · 0.40