We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf69964 commit 2bc1d92Copy full SHA for 2bc1d92
doc/api/esm.md
@@ -833,7 +833,7 @@ its own `require` using `module.createRequire()`.
833
}} utilities Things that preload code might find useful
834
* @returns {string} Code to run before application startup
835
*/
836
-export function globalPreload() {
+export function globalPreload(utilities) {
837
return `\
838
globalThis.someInjectedProperty = 42;
839
console.log('I just set some globals!');
0 commit comments