diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2023-03-20 14:05:13 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-20 14:05:13 -0400 |
commit | cd53ab5427811bddbed1c30d3733e1df87bb23f9 (patch) | |
tree | 0e2ea8e1b45f2d1d4acd20b666ae1d52d40940c6 /cli/build.rs | |
parent | d78db7c0910aded010c2faee9a8c0f128f513985 (diff) |
refactor(ext/node): untangle dependencies between js files (#18284)
Moving some code around in `ext/node` is it's a bit better well defined
and makes it possible for others to embed it.
I expect to see no difference in startup perf with this change.
Diffstat (limited to 'cli/build.rs')
-rw-r--r-- | cli/build.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cli/build.rs b/cli/build.rs index 173c8b85d..4943b729a 100644 --- a/cli/build.rs +++ b/cli/build.rs @@ -362,8 +362,7 @@ fn create_cli_snapshot(snapshot_path: PathBuf) { deno_io::deno_io::init_ops(Default::default()), deno_fs::deno_fs::init_ops::<PermissionsContainer>(false), deno_flash::deno_flash::init_ops::<PermissionsContainer>(false), // No --unstable - deno_node::deno_node_loading::init_ops::<PermissionsContainer>(None), // No --unstable. - deno_node::deno_node::init_ops(), + deno_node::deno_node::init_ops::<PermissionsContainer>(None), cli::init_ops_and_esm(), // NOTE: This needs to be init_ops_and_esm! ]; |