mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
git-subtree-dir: turbopack git-subtree-mainline:344ddbf093git-subtree-split:fb033c4917
11 lines
269 B
Rust
11 lines
269 B
Rust
use turbopack_core::code_builder::{Code, CodeBuilder};
|
|
|
|
/// Returns the code for the dummy runtime, which is used for snapshots.
|
|
pub fn get_dummy_runtime_code() -> Code {
|
|
let mut code = CodeBuilder::default();
|
|
|
|
code += "// Dummy runtime\n";
|
|
|
|
code.build()
|
|
}
|