Lines Matching refs:moduleName
74 const moduleName: string = packageInfo[1]; constant
75 const moduleRootPath: string = toUnixPath(projectConfig.modulePathMap[moduleName]);
96 if (namespace && moduleName !== namespace) {
97 return `${bundleName}/${moduleName}@${namespace}/${langType}/${relativePath}`;
99 return `${bundleName}/${moduleName}/${langType}/${relativePath}`;
109 for (const moduleName in projectConfig.modulePathMap) { constant
110 const modulePath: string = projectConfig.modulePathMap[moduleName]; constant
113 return unixFilePath.replace(tryModulePkg, `${packageDir}@${moduleName}`).replace(
138 if (namespace && moduleName !== namespace) {
139 return `${bundleName}/${moduleName}@${namespace}/${relativeModulePath}`;
141 return `${bundleName}/${moduleName}/${relativeModulePath}`;
166 return `@app:${projectConfig.bundleName}/${projectConfig.moduleName}/${libsoKey}`;
219 }).replace(REG_REQUIRE_NATIVE_MODULE, (_, moduleRequest, moduleName) => {
220 return `import ${moduleRequest} from '@native:${moduleName}';`;
223 }).replace(REG_REQUIRE_NAPI_OHOS, (_, moduleRequest, moduleName) => {
224 return `import ${moduleRequest} from '@ohos:${moduleName}';`;
298 const moduleName: string = packageInfo[1]; constant
299 moduleRequest = `@bundle:${bundleName}/${moduleName}/${result[5]}/${toUnixPath(result[7])}`;
386 const moduleName: string = data.module.name; constant
387 packageCollection.set(configFile, [bundleName, moduleName]);
388 return [bundleName, moduleName];