Lines Matching refs:sourceFilePath
320 public async obfuscateFile(sourceFilePath: string, outputDir: string): Promise<void> {
321 const fileName: string = FileUtils.getFileName(sourceFilePath);
323 fs.copyFileSync(sourceFilePath, path.join(outputDir, fileName));
331 let content: string = FileUtils.readFile(sourceFilePath);
332 this.readNameCache(sourceFilePath, outputDir);
333 const mixedInfo: ObfuscationResultType = await this.obfuscate(content, sourceFilePath);
343 relativePath = sourceFilePath.replace(testCasesRootPath, '');
368 …public async obfuscate(content: SourceFile | string, sourceFilePath: string, previousStageSourceMa…
372 if (this.isObfsIgnoreFile(sourceFilePath)) {
378 ast = createSourceFile(sourceFilePath, content, ScriptTarget.ES2015, true);
410 sourceMapGenerator = getSourceMapGenerator(sourceFilePath);
421 sourceMapJson.file = path.basename(sourceFilePath);