Skip to content

Commit

Permalink
Merge commit '55c018f4580a149514e5b28b820da44ffd3d24e8'
Browse files Browse the repository at this point in the history
  • Loading branch information
Mirroring committed Sep 21, 2024
2 parents 327e087 + 55c018f commit 002e894
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/mono/browser/runtime/loader/icu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,9 @@ export function getIcuResourceName (config: MonoConfig): string | null {

let icuFile = null;
if (config.globalizationMode === GlobalizationMode.Custom) {
if (icuFiles.length === 1) {
icuFile = icuFiles[0];
// custom ICU file is saved in the resources with fingerprinting and does not require mapping
if (icuFiles.length >= 1) {
return icuFiles[0];
}
} else if (config.globalizationMode === GlobalizationMode.Hybrid) {
icuFile = "icudt_hybrid.dat";
Expand Down

0 comments on commit 002e894

Please sign in to comment.