• Home
  • Raw
  • Download

Lines Matching refs:projectConfig

24   projectConfig,
316 projectConfig: any, buildInHar: boolean = false): string {
321 …const projectRootPath: string = toUnixPath(buildInHar ? projectPath : projectConfig.projectRootPat…
327 if (isPackageModulesFile(filePath, projectConfig)) {
328 const packageDir: string = projectConfig.packageDir;
329 …const fakePkgModulesPath: string = toUnixPath(path.join(projectConfig.projectRootPath, packageDir)…
332 const hapPath: string = toUnixPath(projectConfig.projectRootPath);
352 export function isPackageModulesFile(filePath: string, projectConfig: any): boolean {
354 const hapPath: string = toUnixPath(projectConfig.projectRootPath);
356 const packageDir: string = projectConfig.packageDir;
358 …const fakePkgModulesPath: string = toUnixPath(path.resolve(projectConfig.projectRootPath, packageD…
362 if (projectConfig.modulePathMap) {
363 for (const key in projectConfig.modulePathMap) {
364 const value: string = projectConfig.modulePathMap[key];
376 …teSourceFilesInHar(sourcePath: string, sourceContent: string, suffix: string, projectConfig: any) {
379 projectConfig.compileShared ? projectConfig.projectRootPath : projectConfig.moduleRootPath,
380projectConfig.compileShared ? path.resolve(projectConfig.aceModuleBuild, '../etsFortgz') : project…
381 projectConfig, projectConfig.compileShared);
382 if (!jsFilePath.match(new RegExp(projectConfig.packageDir))) {
385 if (projectConfig.obfuscateHarType === 'uglify' && suffix === '.js') {
515 …if (projectConfig.compileMode === ESMODULE && process.env.watchMode === 'true' && !projectConfig.i…
516 projectConfig.changedFileList && (watchRemovedFiles.length + watchModifiedFiles.length)) {
519 watchModifiedFiles[0] === projectConfig.projectPath && !watchRemovedFiles.length)) {
550 watchRemovedFiles = watchRemovedFiles.map(file => path.relative(projectConfig.projectPath, file));
554 .map(file => path.relative(projectConfig.projectPath, file))]
566 path.resolve(projectPath, '../../../../' + projectConfig.packageDir),
567 path.resolve(projectPath, '../../../../../' + projectConfig.packageDir),
573 path.resolve(projectPath, '../../../' + projectConfig.packageDir),
574 path.resolve(projectPath, '../../../../' + projectConfig.packageDir),
582 if (!fs.existsSync(projectConfig.aceSoPath)) {
583 const parent: string = path.resolve(projectConfig.aceSoPath, '..');
588 info = fs.readFileSync(projectConfig.aceSoPath, 'utf-8') + '\n';
590 fs.writeFileSync(projectConfig.aceSoPath, info + Array.from(useOSFiles).join('\n'));
612 …const cacheCollectionFilePath: string = path.resolve(projectConfig.cachePath, cacheCollectionFileN…
724 this.shouldHaveEntry = Object.values(projectConfig.entryObj as string[]).filter((item) => {