Lines Matching refs:moduleName
506 for (const moduleName of moduleNames) { constant
507 …const result = ts.resolveModuleName(moduleName, containingFile, compilerOptions, moduleResolutionH…
521 } else if (new RegExp(`^@(${sdkConfigPrefix})\\.`, 'i').test(moduleName.trim())) {
525 let modulePath: string = path.resolve(sdkConfig.apiPath, moduleName + '.d.ts');
528 modulePath = path.resolve(sdkConfig.apiPath, moduleName + '.d.ets');
531 …if (systemModules.includes(moduleName + (isDETS ? '.d.ets' : '.d.ts')) && ts.sys.fileExists(module…
540 } else if (/\.ets$/.test(moduleName) && !/\.d\.ets$/.test(moduleName)) {
541 const modulePath: string = path.resolve(path.dirname(containingFile), moduleName);
547 } else if (/\.ts$/.test(moduleName)) {
548 const modulePath: string = path.resolve(path.dirname(containingFile), moduleName);
555 const modulePath: string = path.resolve(__dirname, '../../../api', moduleName + '.d.ts');
556 …const systemDETSModulePath: string = path.resolve(__dirname, '../../../api', moduleName + '.d.ets'…
557 const suffix: string = /\.js$/.test(moduleName) ? '' : '.js';
558 … const jsModulePath: string = path.resolve(__dirname, '../node_modules', moduleName + suffix);
560 path.resolve(__dirname, '../node_modules', moduleName + '/index.js');
562 /\.d\.ets$/.test(moduleName) ? moduleName : moduleName + EXTNAME_D_ETS);
578 …projectConfig.projectPath.substring(0, srcIndex), moduleName + path.sep + 'index' + EXTNAME_D_ETS);