We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b198c2 commit 8d8225bCopy full SHA for 8d8225b
doc/api/esm.md
@@ -789,7 +789,7 @@ its own `require` using `module.createRequire()`.
789
}} utilities Things that preload code might find useful
790
* @returns {string} Code to run before application startup
791
*/
792
-export function globalPreload() {
+export function globalPreload(utilities) {
793
return `\
794
globalThis.someInjectedProperty = 42;
795
console.log('I just set some globals!');
0 commit comments