@absolutejs/absolute 0.19.0-beta.916 → 0.19.0-beta.918
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/index.js
CHANGED
|
@@ -19916,16 +19916,25 @@ ${block}
|
|
|
19916
19916
|
if (cached !== undefined)
|
|
19917
19917
|
return cached;
|
|
19918
19918
|
const tsconfigPath = resolve34(projectRoot, "tsconfig.json");
|
|
19919
|
-
|
|
19919
|
+
const opts = {};
|
|
19920
19920
|
if (existsSync26(tsconfigPath)) {
|
|
19921
19921
|
try {
|
|
19922
19922
|
const text = readFileSync20(tsconfigPath, "utf8");
|
|
19923
19923
|
const parsed = ts7.parseConfigFileTextToJson(tsconfigPath, text);
|
|
19924
19924
|
if (!parsed.error && parsed.config) {
|
|
19925
19925
|
const cfg = parsed.config;
|
|
19926
|
-
const
|
|
19927
|
-
if (typeof
|
|
19928
|
-
opts =
|
|
19926
|
+
const ang = cfg.angularCompilerOptions ?? {};
|
|
19927
|
+
if (typeof ang.preserveWhitespaces === "boolean") {
|
|
19928
|
+
opts.preserveWhitespaces = ang.preserveWhitespaces;
|
|
19929
|
+
}
|
|
19930
|
+
if (typeof ang.enableI18nLegacyMessageIdFormat === "boolean") {
|
|
19931
|
+
opts.enableI18nLegacyMessageIdFormat = ang.enableI18nLegacyMessageIdFormat;
|
|
19932
|
+
}
|
|
19933
|
+
if (typeof ang.i18nUseExternalIds === "boolean") {
|
|
19934
|
+
opts.i18nUseExternalIds = ang.i18nUseExternalIds;
|
|
19935
|
+
}
|
|
19936
|
+
if (typeof ang.i18nNormalizeLineEndingsInICUs === "boolean") {
|
|
19937
|
+
opts.i18nNormalizeLineEndingsInICUs = ang.i18nNormalizeLineEndingsInICUs;
|
|
19929
19938
|
}
|
|
19930
19939
|
}
|
|
19931
19940
|
} catch {}
|
|
@@ -19999,6 +20008,8 @@ ${block}
|
|
|
19999
20008
|
let parsed;
|
|
20000
20009
|
try {
|
|
20001
20010
|
parsed = compiler.parseTemplate(templateText, templatePath, {
|
|
20011
|
+
enableI18nLegacyMessageIdFormat: projectDefaults.enableI18nLegacyMessageIdFormat,
|
|
20012
|
+
i18nNormalizeLineEndingsInICUs: projectDefaults.i18nNormalizeLineEndingsInICUs,
|
|
20002
20013
|
preserveWhitespaces: decoratorMeta.preserveWhitespaces
|
|
20003
20014
|
});
|
|
20004
20015
|
} catch (err) {
|
|
@@ -20076,7 +20087,7 @@ ${block}
|
|
|
20076
20087
|
animations: advancedMetadata.animations,
|
|
20077
20088
|
viewProviders: advancedMetadata.viewProviders,
|
|
20078
20089
|
relativeContextFilePath: projectRelPath,
|
|
20079
|
-
i18nUseExternalIds: false,
|
|
20090
|
+
i18nUseExternalIds: projectDefaults.i18nUseExternalIds ?? false,
|
|
20080
20091
|
changeDetection: null,
|
|
20081
20092
|
relativeTemplatePath: null,
|
|
20082
20093
|
hasDirectiveDependencies: declarations.length > 0
|
|
@@ -31483,5 +31494,5 @@ export {
|
|
|
31483
31494
|
ANGULAR_INIT_TIMEOUT_MS
|
|
31484
31495
|
};
|
|
31485
31496
|
|
|
31486
|
-
//# debugId=
|
|
31497
|
+
//# debugId=93042A6CD7B46B0A64756E2164756E21
|
|
31487
31498
|
//# sourceMappingURL=index.js.map
|