MCPcopy
hub / github.com/nuxt/nuxt / $resolve

Function $resolve

packages/schema/src/config/experimental.ts:11–20  ·  view source on GitHub ↗
(val, get)

Source from the content-addressed store, hash-verified

9 multiApp: false,
10 typescriptBundlerResolution: {
11 async $resolve (val, get) {
12 // @ts-expect-error TODO: remove in v3.10
13 val = typeof val === 'boolean' ? val : await (get('experimental')).then(e => e?.typescriptBundlerResolution as string | undefined)
14 if (typeof val === 'boolean') { return val }
15 const setting = await get('typescript.tsConfig').then(r => r?.compilerOptions?.moduleResolution)
16 if (setting) {
17 return setting.toLowerCase() === 'bundler'
18 }
19 return true
20 },
21 },
22 },
23 features: {

Callers

nothing calls this directly

Calls 2

isValidLiteralFunction · 0.85
getFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…