MCPcopy
hub / github.com/vuejs/core / resolve

Function resolve

rollup.config.js:44–44  ·  view source on GitHub ↗
(/** @type {string} */ p)

Source from the content-addressed store, hash-verified

42const packageDir = path.resolve(packagesDir, process.env.TARGET)
43
44const resolve = (/** @type {string} */ p) => path.resolve(packageDir, p)
45const pkg = require(resolve(`package.json`))
46const packageOptions = pkg.buildOptions || {}
47const name = packageOptions.filename || path.basename(packageDir)

Callers 5

rollup.config.jsFile · 0.70
createConfigFunction · 0.70
createProductionConfigFunction · 0.70
dev.jsFile · 0.50
execFunction · 0.50

Calls 1

resolveMethod · 0.65

Tested by

no test coverage detected