summaryrefslogtreecommitdiff
path: root/ext/cache/lib.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/cache/lib.rs
parentb4aa1530970f7b9cc4e6f2f27e077852c4e178d3 (diff)
refactor: remove prefix from include_js_files & use extension name (#17683)
Diffstat (limited to 'ext/cache/lib.rs')
-rw-r--r--ext/cache/lib.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/ext/cache/lib.rs b/ext/cache/lib.rs
index a35ac6246..b0efbca55 100644
--- a/ext/cache/lib.rs
+++ b/ext/cache/lib.rs
@@ -27,10 +27,7 @@ pub fn init<CA: Cache + 'static>(
) -> Extension {
Extension::builder(env!("CARGO_PKG_NAME"))
.dependencies(vec!["deno_webidl", "deno_web", "deno_url", "deno_fetch"])
- .esm(include_js_files!(
- prefix "internal:ext/cache",
- "01_cache.js",
- ))
+ .esm(include_js_files!("01_cache.js",))
.ops(vec![
op_cache_storage_open::decl::<CA>(),
op_cache_storage_has::decl::<CA>(),