@absolutejs/absolute 0.19.0-beta.698 → 0.19.0-beta.699
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/browser.js.map +1 -1
- package/dist/angular/index.js +6 -5
- package/dist/angular/index.js.map +3 -3
- package/dist/angular/server.js +6 -5
- package/dist/angular/server.js.map +3 -3
- package/dist/build.js +6 -5
- package/dist/build.js.map +3 -3
- package/dist/index.js +7 -6
- package/dist/index.js.map +4 -4
- package/dist/src/angular/components/defer-slot.component.d.ts +1 -1
- package/dist/src/core/prepare.d.ts +18 -0
- package/package.json +1 -1
package/dist/angular/server.js
CHANGED
|
@@ -3502,8 +3502,9 @@ ${slot.resolvedBindings.map((binding) => ` "${binding.key}": this.__absoluteDef
|
|
|
3502
3502
|
${fields}
|
|
3503
3503
|
`);
|
|
3504
3504
|
}, readAndEscapeFile = async (filePath, stylePreprocessors) => {
|
|
3505
|
-
if (!existsSync5(filePath))
|
|
3506
|
-
|
|
3505
|
+
if (!existsSync5(filePath)) {
|
|
3506
|
+
throw new Error(`Unable to inline Angular style resource: file not found at ${filePath}`);
|
|
3507
|
+
}
|
|
3507
3508
|
const content = await compileStyleFileIfNeeded(filePath, stylePreprocessors);
|
|
3508
3509
|
return escapeTemplateContent(content);
|
|
3509
3510
|
}, inlineTemplateAndLowerDefer = async (source, fileDir) => {
|
|
@@ -3511,7 +3512,7 @@ ${fields}
|
|
|
3511
3512
|
if (templateUrlMatch?.[1]) {
|
|
3512
3513
|
const templatePath = join5(fileDir, templateUrlMatch[1]);
|
|
3513
3514
|
if (!existsSync5(templatePath)) {
|
|
3514
|
-
|
|
3515
|
+
throw new Error(`Unable to inline Angular templateUrl "${templateUrlMatch[1]}": file not found at ${templatePath}`);
|
|
3515
3516
|
}
|
|
3516
3517
|
const templateRaw2 = await fs.readFile(templatePath, "utf-8");
|
|
3517
3518
|
const lowered2 = lowerAngularDeferSyntax(templateRaw2);
|
|
@@ -3542,7 +3543,7 @@ ${fields}
|
|
|
3542
3543
|
if (templateUrlMatch?.[1]) {
|
|
3543
3544
|
const templatePath = join5(fileDir, templateUrlMatch[1]);
|
|
3544
3545
|
if (!existsSync5(templatePath)) {
|
|
3545
|
-
|
|
3546
|
+
throw new Error(`Unable to inline Angular templateUrl "${templateUrlMatch[1]}": file not found at ${templatePath}`);
|
|
3546
3547
|
}
|
|
3547
3548
|
const templateRaw2 = readFileSync4(templatePath, "utf-8");
|
|
3548
3549
|
const lowered2 = lowerAngularDeferSyntax(templateRaw2);
|
|
@@ -4973,5 +4974,5 @@ export {
|
|
|
4973
4974
|
handleAngularPageRequest
|
|
4974
4975
|
};
|
|
4975
4976
|
|
|
4976
|
-
//# debugId=
|
|
4977
|
+
//# debugId=6DAA1F30AA9E65E864756E2164756E21
|
|
4977
4978
|
//# sourceMappingURL=server.js.map
|