Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/vitejs/vite
/ resolve
Function
resolve
playground/ssr-conditions/server.js:13–13 ·
view source on GitHub ↗
(p)
Source
from the content-addressed store, hash-verified
11
hmrPort,
12
) {
13
const
resolve = (p) => path.resolve(
import
.meta.dirname, p)
14
15
const
indexProd = isProd
16
? fs.readFileSync(resolve(
'dist/client/index.html'
),
'utf-8'
)
Callers
2
createServer
Function · 0.70
serve
Function · 0.50
Calls
1
resolve
Method · 0.65
Tested by
1
serve
Function · 0.40