@gjsify/resolve-npm 0.64.12 → 0.64.13
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/lib/index.mjs +5 -0
- package/package.json +1 -1
package/lib/index.mjs
CHANGED
|
@@ -490,6 +490,11 @@ export const ALIASES_NODE_FOR_NATIVESCRIPT = {
|
|
|
490
490
|
timers: '@gjsify/timers',
|
|
491
491
|
'timers/promises': '@gjsify/timers/promises',
|
|
492
492
|
|
|
493
|
+
// GJS built-in module name → the GLib gettext on Android (libintl reader in
|
|
494
|
+
// gi-runtime-android), so shared `import Gettext from 'gettext'` code keeps
|
|
495
|
+
// working as on GNOME. Not a Node built-in; kept here so both bundler tracks share it.
|
|
496
|
+
gettext: '@gjsify/node-gi/gettext',
|
|
497
|
+
|
|
493
498
|
// Third-party
|
|
494
499
|
'node-fetch': '@gjsify/empty', // NS has native fetch
|
|
495
500
|
ws: '@gjsify/empty', // NS has its own WebSocket
|