summaryrefslogtreecommitdiff
path: root/ext/web/benches/encoding.rs
diff options
context:
space:
mode:
authorLeo Kettmeir <crowlkats@toaxl.com>2023-02-07 22:09:50 +0100
committerGitHub <noreply@github.com>2023-02-07 21:09:50 +0000
commit49af1ab18da02f09e65506c873526c40d005c4ed (patch)
tree0d8f6028e98907096019500a7e1c717408eeb4e2 /ext/web/benches/encoding.rs
parentb4aa1530970f7b9cc4e6f2f27e077852c4e178d3 (diff)
refactor: remove prefix from include_js_files & use extension name (#17683)
Diffstat (limited to 'ext/web/benches/encoding.rs')
-rw-r--r--ext/web/benches/encoding.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/web/benches/encoding.rs b/ext/web/benches/encoding.rs
index f8ad57c4f..a96da1bc6 100644
--- a/ext/web/benches/encoding.rs
+++ b/ext/web/benches/encoding.rs
@@ -32,7 +32,7 @@ fn setup() -> Vec<Extension> {
.esm(vec![(
"internal:setup",
r#"
- import { TextDecoder } from "internal:ext/web/08_text_encoding.js";
+ import { TextDecoder } from "internal:deno_web/08_text_encoding.js";
globalThis.TextDecoder = TextDecoder;
globalThis.hello12k = Deno.core.encode("hello world\n".repeat(1e3));
"#,