Lines Matching refs:moduleName
511 for (const moduleName of moduleNames) { constant
512 …const result = ts.resolveModuleName(moduleName, containingFile, compilerOptions, moduleResolutionH…
526 } else if (new RegExp(`^@(${sdkConfigPrefix})\\.`, 'i').test(moduleName.trim())) {
530 let modulePath: string = path.resolve(sdkConfig.apiPath, moduleName + '.d.ts');
533 modulePath = path.resolve(sdkConfig.apiPath, moduleName + '.d.ets');
536 …if (systemModules.includes(moduleName + (isDETS ? '.d.ets' : '.d.ts')) && ts.sys.fileExists(module…
545 } else if (/\.ets$/.test(moduleName) && !/\.d\.ets$/.test(moduleName)) {
546 const modulePath: string = path.resolve(path.dirname(containingFile), moduleName);
552 } else if (/\.ts$/.test(moduleName)) {
553 const modulePath: string = path.resolve(path.dirname(containingFile), moduleName);
560 const modulePath: string = path.resolve(__dirname, '../../../api', moduleName + '.d.ts');
561 …const systemDETSModulePath: string = path.resolve(__dirname, '../../../api', moduleName + '.d.ets'…
562 const suffix: string = /\.js$/.test(moduleName) ? '' : '.js';
563 … const jsModulePath: string = path.resolve(__dirname, '../node_modules', moduleName + suffix);
565 path.resolve(__dirname, '../node_modules', moduleName + '/index.js');
567 /\.d\.ets$/.test(moduleName) ? moduleName : moduleName + EXTNAME_D_ETS);
583 …projectConfig.projectPath.substring(0, srcIndex), moduleName + path.sep + 'index' + EXTNAME_D_ETS);