diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2024-10-26 13:41:09 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-26 13:41:09 -0400 |
commit | f0f476e58453d502ab5c118fc91d1475e6829967 (patch) | |
tree | c587c81f345a87cc5c61c36242230cb26321a5a9 /cli/standalone | |
parent | d92d2fe9b0bd5e6e29cb3b6f924472aec972b636 (diff) |
perf: pass transpiled module to deno_core as known string (#26555)
Diffstat (limited to 'cli/standalone')
-rw-r--r-- | cli/standalone/binary.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/standalone/binary.rs b/cli/standalone/binary.rs index 0f8b0b49d..f41f3003f 100644 --- a/cli/standalone/binary.rs +++ b/cli/standalone/binary.rs @@ -613,7 +613,7 @@ impl<'a> DenoCompileBinaryWriter<'a> { .emitter .emit_parsed_source(&m.specifier, m.media_type, &m.source) .await?; - source.to_vec() + source.into_bytes() } else { m.source.as_bytes().to_vec() }; |