Skip to content

Commit

Permalink
fix(js-poc): remove async hooks polyfill for now
Browse files Browse the repository at this point in the history
  • Loading branch information
matthias-wright committed May 13, 2024
1 parent 72a2ef9 commit 8dee4ed
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions services/js-poc/src/runtime/module_loader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ pub fn node_modules() -> StaticModuleLoader {
let https_source = include_str!("js/node_https.js");
let stream_source = include_str!("js/node_stream.js");
let path_source = include_str!("js/node_path.js");
let async_hooks_source = include_str!("js/node_async_hooks.js");
let modules = vec![
(
ModuleSpecifier::parse("node:crypto").unwrap(),
Expand All @@ -19,10 +18,6 @@ pub fn node_modules() -> StaticModuleLoader {
stream_source,
),
(ModuleSpecifier::parse("node:path").unwrap(), path_source),
(
ModuleSpecifier::parse("node:async_hooks").unwrap(),
async_hooks_source,
),
];
StaticModuleLoader::new(modules)
}

0 comments on commit 8dee4ed

Please sign in to comment.