Home
last modified time | relevance | path

Searched refs:sourcePath (Results 1 – 6 of 6) sorted by relevance

/developtools/ace_ets2bundle/compiler/src/fast_build/system_api/
Drollup-plugin-system-api.ts98 function processSystemApi(content: string, sourcePath: string): string {
102 appImportModuleCollection.set(path.join(sourcePath), new Set());
108 appImportModuleCollection.get(path.join(sourcePath)).add(systemModule);
109 checkModuleExist(systemModule, sourcePath);
146 function checkModuleExist(systemModule: string, sourcePath: string): void {
148 if (/\.js$/.test(sourcePath) && !systemModules.includes(module)) {
151 console.error(`BUILDERROR File: ${sourcePath}\n ${message}`);
155 function processLibso(content: string, sourcePath: string, useOSFiles: Set<string>): string {
/developtools/ace_ets2bundle/compiler/src/
Dark_utils.ts254 export function writeFileSyncByString(sourcePath: string, sourceCode: string, projectConfig: Object…
255 …const filePath: string = genTemporaryPath(sourcePath, projectConfig.projectPath, process.env.cache…
260 if (/\.js$/.test(sourcePath)) {
261 sourceCode = transformModuleSpecifier(sourcePath, sourceCode, projectConfig);
268 if (/\.json$/.test(sourcePath)) {
273 export function transformModuleSpecifier(sourcePath: string, sourceCode: string, projectConfig: Obj…
285 return replaceRelativeDependency(item, moduleRequest, toUnixPath(sourcePath), projectConfig);
340 function replaceRelativeDependency(item:string, moduleRequest: string, sourcePath: string, projectC…
341 if (sourcePath && projectConfig.compileMode === ESMODULE) {
356 locateActualFilePathWithModuleRequest(path.resolve(path.dirname(sourcePath), moduleRequest));
[all …]
Dutils.ts395 sourcePath: string; property
405 export function generateSourceFilesInHar(sourcePath: string, sourceContent: string, suffix: string,…
407 let jsFilePath: string = genTemporaryPath(sourcePath,
418 sourcePath = toUnixPath(sourcePath);
419 …const genFilesInHar: GeneratedFileInHar = { sourcePath: sourcePath, originalDeclarationCachePath: …
420 harFilesRecord.set(sourcePath, genFilesInHar);
Dvalidate_ui_syntax.ts1090 export function sourceReplace(source: string, sourcePath: string): ReplaceResult {
1096 content = processSystemApi(content, false, sourcePath);
1097 CollectImportNames(content, sourcePath);
1137 function replaceLibSo(importValue: string, libSoKey: string, sourcePath: string = null): string {
1138 if (sourcePath) {
1139 useOSFiles.add(sourcePath);
1148 sourcePath: string = null, isSystemModule: boolean = false): string {
1236 if (sourcePath && sourcePath != null) {
1237 const cleanSourcePath: string = sourcePath.replace('.ets', '.js').replace('.ts', '.js');
/developtools/ace_js2bundle/ace-loader/
Dmain.product.js97 const sourcePath = element;
98 const hmlPath = path.join(projectPath, sourcePath + '.hml');
100 const visualPath = path.join(aceSuperVisualPath, sourcePath + '.visual');
104 throw Error(red + 'ERROR: ' + sourcePath + ' cannot both have hml && visual').message;
106 entryObj['./' + element] = path.resolve(projectPath, './' + sourcePath + '.hml?entry');
108 entryObj['./' + element] = path.resolve(aceSuperVisualPath, './' + sourcePath +
/developtools/smartperf_host/ide/
Dwebpack.config.js40 function cpFile(sourcePath, targetPath) { argument
41 fs.readdir(sourcePath, (err, files) => {
47 const source = `${sourcePath}/${file}`;