@absolutejs/absolute 0.19.0-beta.916 → 0.19.0-beta.917
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,22 @@ ${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;
|
|
19929
19935
|
}
|
|
19930
19936
|
}
|
|
19931
19937
|
} catch {}
|
|
@@ -19999,6 +20005,7 @@ ${block}
|
|
|
19999
20005
|
let parsed;
|
|
20000
20006
|
try {
|
|
20001
20007
|
parsed = compiler.parseTemplate(templateText, templatePath, {
|
|
20008
|
+
enableI18nLegacyMessageIdFormat: projectDefaults.enableI18nLegacyMessageIdFormat,
|
|
20002
20009
|
preserveWhitespaces: decoratorMeta.preserveWhitespaces
|
|
20003
20010
|
});
|
|
20004
20011
|
} catch (err) {
|
|
@@ -20076,7 +20083,7 @@ ${block}
|
|
|
20076
20083
|
animations: advancedMetadata.animations,
|
|
20077
20084
|
viewProviders: advancedMetadata.viewProviders,
|
|
20078
20085
|
relativeContextFilePath: projectRelPath,
|
|
20079
|
-
i18nUseExternalIds: false,
|
|
20086
|
+
i18nUseExternalIds: projectDefaults.i18nUseExternalIds ?? false,
|
|
20080
20087
|
changeDetection: null,
|
|
20081
20088
|
relativeTemplatePath: null,
|
|
20082
20089
|
hasDirectiveDependencies: declarations.length > 0
|
|
@@ -31483,5 +31490,5 @@ export {
|
|
|
31483
31490
|
ANGULAR_INIT_TIMEOUT_MS
|
|
31484
31491
|
};
|
|
31485
31492
|
|
|
31486
|
-
//# debugId=
|
|
31493
|
+
//# debugId=7D607B5F26DCC7F464756E2164756E21
|
|
31487
31494
|
//# sourceMappingURL=index.js.map
|