Skip to main content

turbopack_ecmascript_runtime/
lib.rs

1#![feature(arbitrary_self_types)]
2#![feature(arbitrary_self_types_pointers)]
3
4pub(crate) mod browser_runtime;
5#[cfg(feature = "test")]
6pub(crate) mod dummy_runtime;
7pub(crate) mod embed_js;
8pub(crate) mod nodejs_runtime;
9pub(crate) mod runtime_type;
10
11pub use browser_runtime::{
12    chunk_update_listeners_global_name, get_browser_runtime_code, get_worker_runtime_code,
13};
14#[cfg(feature = "test")]
15pub use dummy_runtime::get_dummy_runtime_code;
16pub use embed_js::{embed_file, embed_file_path, embed_fs, turbopack_runtime_import_map};
17pub use nodejs_runtime::get_nodejs_runtime_code;
18pub use runtime_type::RuntimeType;