We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe77f43 commit 55c018fCopy full SHA for 55c018f
src/mono/browser/runtime/loader/icu.ts
@@ -66,8 +66,9 @@ export function getIcuResourceName (config: MonoConfig): string | null {
66
67
let icuFile = null;
68
if (config.globalizationMode === GlobalizationMode.Custom) {
69
- if (icuFiles.length === 1) {
70
- icuFile = icuFiles[0];
+ // custom ICU file is saved in the resources with fingerprinting and does not require mapping
+ if (icuFiles.length >= 1) {
71
+ return icuFiles[0];
72
}
73
} else if (config.globalizationMode === GlobalizationMode.Hybrid) {
74
icuFile = "icudt_hybrid.dat";
0 commit comments