We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e68bf84 commit a6e7cf5Copy full SHA for a6e7cf5
doc/api/esm.md
@@ -827,7 +827,7 @@ its own `require` using `module.createRequire()`.
827
}} utilities Things that preload code might find useful
828
* @returns {string} Code to run before application startup
829
*/
830
-export function globalPreload() {
+export function globalPreload(utilities) {
831
return `\
832
globalThis.someInjectedProperty = 42;
833
console.log('I just set some globals!');
0 commit comments