Home
last modified time | relevance | path

Searched refs:resolvedPath (Results 1 – 13 of 13) sorted by relevance

/expo/packages/expo-router/src/link/
H A Dpath.ts100 let resolvedPath = '';
118 resolvedPath = path + '/' + resolvedPath;
126 resolvedPath = normalizeStringPosix(resolvedPath, !resolvedAbsolute);
129 if (resolvedPath.length > 0) {
130 return '/' + resolvedPath;
134 } else if (resolvedPath.length > 0) {
135 return resolvedPath;
/expo/packages/@expo/cli/src/start/server/metro/
H A DresolveFromProject.ts32 const resolvedPath = resolveFrom.silent(projectRoot, moduleId); constant
33 if (!resolvedPath) {
36 return resolvedPath;
76 const resolvedPath = resolveFrom.silent(projectRoot, moduleId); constant
77 if (!resolvedPath) {
81 debug(`requiring "${moduleId}" from the project:`, resolvedPath);
82 return require(resolvedPath);
/expo/packages/expo-router/build/link/
H A Dpath.js109 let resolvedPath = '';
124 resolvedPath = path + '/' + resolvedPath;
130 resolvedPath = normalizeStringPosix(resolvedPath, !resolvedAbsolute);
132 if (resolvedPath.length > 0) {
133 return '/' + resolvedPath;
139 else if (resolvedPath.length > 0) {
140 return resolvedPath;
H A Dpath.js.map1resolvedPath = '';\n let resolvedAbsolute = false;\n\n for (let i = segments.length - 1; i >= -1…
/expo/packages/@expo/cli/src/start/server/middleware/
H A DCreateFileMiddleware.ts36 let resolvedPath = inputPath;
43 resolvedPath = resolvedPath.replace(/\.js$/, '.tsx');
47 return resolvedPath;
102 const resolvedPath = properties.absolutePath constant
106 if (fs.existsSync(resolvedPath)) {
112 debug(`Resolved path:`, resolvedPath);
115 await fs.promises.mkdir(path.dirname(resolvedPath), { recursive: true });
116 await fs.promises.writeFile(resolvedPath, properties.contents, 'utf8');
/expo/packages/@expo/cli/src/start/server/webpack/
H A DresolveFromProject.ts18 const resolvedPath = resolveFrom.silent(projectRoot, moduleId); constant
19 if (!resolvedPath) {
22 return resolvedPath;
/expo/packages/@expo/cli/src/utils/tsconfig/
H A DevaluateTsConfig.ts48 const resolvedPath = resolveFrom.silent(projectRoot, 'typescript'); constant
49 if (!resolvedPath) {
52 return require(resolvedPath);
/expo/packages/expo-modules-autolinking/src/autolinking/
H A DmergeLinkingOptions.ts97 const resolvedPath = path.resolve(projectRoot, nativeModulesDir || 'modules'); constant
98 return fs.existsSync(resolvedPath) ? resolvedPath : null;
/expo/packages/expo-modules-autolinking/build/autolinking/
H A DmergeLinkingOptions.js76 const resolvedPath = path_1.default.resolve(projectRoot, nativeModulesDir || 'modules');
77 return fs_extra_1.default.existsSync(resolvedPath) ? resolvedPath : null;
H A DmergeLinkingOptions.js.map1 …cwd;\n const resolvedPath = path.resolve(projectRoot, nativeModulesDir || 'modules');\n return f…
/expo/packages/expo-asset/src/
H A DAssetSources.ts117 const resolvedPath = uri.startsWith('/') ? uri : path.join(baseUrl.pathname, uri); constant
118 baseUrl.set('pathname', resolvedPath);
/expo/packages/expo-asset/build/
H A DAssetSources.js81 const resolvedPath = uri.startsWith('/') ? uri : path.join(baseUrl.pathname, uri);
82 baseUrl.set('pathname', resolvedPath);
H A DAssetSources.js.map1 …aseUrl);\n const resolvedPath = uri.startsWith('/') ? uri : path.join(baseUrl.pathname, uri);\n …