Home
last modified time | relevance | path

Searched refs:relativeSourceFilePath (Results 1 – 8 of 8) sorted by relevance

/developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/common/
Dutils.test.ts279 const relativeSourceFilePath = constant
285 source: relativeSourceFilePath,
291 updatedMap[SOURCE] = [relativeSourceFilePath];
292 updatedMap[FILE] = path.basename(relativeSourceFilePath);
293 newSourceMaps[relativeSourceFilePath] =
294 await updateSourceMap(newSourceMaps[relativeSourceFilePath], updatedMap);
295 expect(newSourceMaps[relativeSourceFilePath] === updatedMap).to.be.true;
304 const relativeSourceFilePath = constant
310 source: relativeSourceFilePath,
316 updatedMap[SOURCE] = [relativeSourceFilePath];
[all …]
Dark_utils.test.ts311 const relativeSourceFilePath: string = constant
320 const ModuleSource = new ModuleSourceFile(relativeSourceFilePath, Code);
323 source: relativeSourceFilePath,
328 newSourceMaps[relativeSourceFilePath] = sourceMap;
329 delete newSourceMaps[relativeSourceFilePath].sourcesContent;
332 moduleSource.projectConfig.terserConfig, relativeSourceFilePath, newSourceMaps);
/developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/
Dtransform.ts80 …const relativeSourceFilePath = toUnixPath(sourceFilePath.replace(projectConfig.projectRootPath + p… constant
81 sourcemap['sources'] = [ relativeSourceFilePath ];
82 sourcemap['file'] = path.basename(relativeSourceFilePath);
84 newSourceMaps[relativeSourceFilePath] = sourcemap;
Dutils.ts154 …const relativeSourceFilePath: string = toUnixPath(sourceFilePath).replace(toUnixPath(projectConfig… constant
156 …teObfuscatedSourceCode(content, filePath, logger, projectConfig, relativeSourceFilePath, newSource…
/developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/module/
Dmodule_hotreload_mode.test.ts67 const relativeSourceFilePath = constant
69 sourceMap[FILE] = path.basename(relativeSourceFilePath);
70 sourceMap[SOURCE] = [relativeSourceFilePath];
71 newSourceMaps[relativeSourceFilePath] = sourceMap;
/developtools/ace_ets2bundle/compiler/src/
Dark_utils.ts377relativeSourceFilePath: string = '', rollupNewSourceMaps: Object = {}, sourcePath?: string): Promi…
379 …rdObfuscatedSourceCode(content, filePath, logger, projectConfig, relativeSourceFilePath, rollupNew…
384 …ourceCode(content, filePath, logger, projectConfig.terserConfig, relativeSourceFilePath, rollupNew…
408relativeSourceFilePath: string = '', rollupNewSourceMaps: Object = {}, originalFilePath: string): …
412 if (relativeSourceFilePath.length > 0) {
413 previousStageSourceMap = rollupNewSourceMaps[relativeSourceFilePath];
419 let namecachePath = relativeSourceFilePath;
432 logger.error(red, `ArkTS:ERROR Failed to obfuscate file: ${relativeSourceFilePath}`);
436 mixedInfo.sourceMap.sources = [relativeSourceFilePath];
437 rollupNewSourceMaps[relativeSourceFilePath] = mixedInfo.sourceMap;
[all …]
Dprocess_module_files.ts61 …let relativeSourceFilePath = toUnixPath(node.fileName).replace(toUnixPath(projectConfig.projectRoo…
64 rollupNewSourceMaps[relativeSourceFilePath] = mixedInfo.sourceMapJson;
67 webpackNewSourceMaps[relativeSourceFilePath] = mixedInfo.sourceMapJson;
72 …rceCode(mixedInfo.content, temporaryFile, logger, projectConfig, relativeSourceFilePath, sourceMap…
/developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/module/
Dmodule_source_file.ts367 const relativeSourceFilePath: string = constant
370 source: relativeSourceFilePath,
375 …newSourceMaps[relativeSourceFilePath] = await updateSourceMap(newSourceMaps[relativeSourceFilePath