@absolutejs/absolute 0.19.0-beta.762 → 0.19.0-beta.763
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/angular/index.js +6 -4
- package/dist/angular/index.js.map +3 -3
- package/dist/angular/server.js +6 -4
- package/dist/angular/server.js.map +3 -3
- package/dist/build.js +6 -4
- package/dist/build.js.map +3 -3
- package/dist/index.js +6 -4
- package/dist/index.js.map +3 -3
- package/package.json +7 -7
package/dist/angular/index.js
CHANGED
|
@@ -3472,7 +3472,9 @@ ${registrations}
|
|
|
3472
3472
|
return;
|
|
3473
3473
|
const source = await readFileForAotTransform(resolvedPath, readFile2);
|
|
3474
3474
|
const transformed = await inlineResources(source, dirname4(resolvedPath), stylePreprocessors);
|
|
3475
|
-
|
|
3475
|
+
if (transformed.source !== source) {
|
|
3476
|
+
transformedSources.set(resolvedPath, transformed.source);
|
|
3477
|
+
}
|
|
3476
3478
|
const imports = extractLocalImportSpecifiers(source, resolvedPath);
|
|
3477
3479
|
await Promise.all(imports.map(async (specifier) => {
|
|
3478
3480
|
const resolvedImport = resolveLocalTsImport(resolvedPath, specifier);
|
|
@@ -3555,8 +3557,8 @@ ${registrations}
|
|
|
3555
3557
|
};
|
|
3556
3558
|
const originalGetSourceFileForCompile = host.getSourceFile;
|
|
3557
3559
|
host.getSourceFile = (fileName, languageVersion, onError) => {
|
|
3558
|
-
const source =
|
|
3559
|
-
if (
|
|
3560
|
+
const source = aotTransformedSources.get(resolve6(fileName));
|
|
3561
|
+
if (source) {
|
|
3560
3562
|
return ts.createSourceFile(fileName, source, languageVersion, true);
|
|
3561
3563
|
}
|
|
3562
3564
|
return originalGetSourceFileForCompile?.call(host, fileName, languageVersion, onError);
|
|
@@ -14813,5 +14815,5 @@ export {
|
|
|
14813
14815
|
ABSOLUTE_HTTP_TRANSFER_CACHE_SKIP_HEADER
|
|
14814
14816
|
};
|
|
14815
14817
|
|
|
14816
|
-
//# debugId=
|
|
14818
|
+
//# debugId=9178E2767EBB10B964756E2164756E21
|
|
14817
14819
|
//# sourceMappingURL=index.js.map
|