File tree Expand file tree Collapse file tree
packages/vite-plugin-cloudflare
playground/node-compat/worker-process Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ export default {
88} satisfies ExportedHandler ;
99
1010function testProcessBehaviour ( ) {
11+ // workerd does not implement `process.stderr`, it comes from unenv.
1112 assert ( stderr , "process.stderr was not polyfilled early enough!" ) ;
1213 const originalProcess = process ;
1314 try {
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ const injectsByModule = new Map<
7878 { injectedName : string ; exportName : string ; importName : string } [ ]
7979> ( ) ;
8080/**
81- * Map of virtual module (prefixed by `\0_nodejs_global_inject- `) to injectable module id,
81+ * Map of virtual module (prefixed by `virtualModulePrefix `) to injectable module id,
8282 * which then maps via `injectsByModule` to the global code to be injected.
8383 */
8484const virtualModulePathToSpecifier = new Map < string , string > ( ) ;
You can’t perform that action at this time.
0 commit comments