This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: i18n: WIP: check exepath for ICU data
==WORK IN PROGRESS== If the user hasn't otherwise specified a directory, append `NODE_EXEPATH_ICUDIR` ( default: ../share/node/icu/ ) and set it as the ICU dir. If we are in `small-icu` mode, ALSO actually verify the aforementioned directory exists (thx libuv) and suppress loading the small-icu data in that case. (If we aren't in `small-icu` mode, there's no reason to incur the cost of hitting the FS to check whether the directory exists or not at startup time.) // cc: @tjfontaine
- Loading branch information
Showing
1 changed file
with
77 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters