diff options
author | Leo Kettmeir <crowlkats@toaxl.com> | 2023-02-07 22:09:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-07 21:09:50 +0000 |
commit | 49af1ab18da02f09e65506c873526c40d005c4ed (patch) | |
tree | 0d8f6028e98907096019500a7e1c717408eeb4e2 /ext/webstorage/lib.rs | |
parent | b4aa1530970f7b9cc4e6f2f27e077852c4e178d3 (diff) |
refactor: remove prefix from include_js_files & use extension name (#17683)
Diffstat (limited to 'ext/webstorage/lib.rs')
-rw-r--r-- | ext/webstorage/lib.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ext/webstorage/lib.rs b/ext/webstorage/lib.rs index d878ad701..852ce229e 100644 --- a/ext/webstorage/lib.rs +++ b/ext/webstorage/lib.rs @@ -24,10 +24,7 @@ const MAX_STORAGE_BYTES: u32 = 10 * 1024 * 1024; pub fn init(origin_storage_dir: Option<PathBuf>) -> Extension { Extension::builder(env!("CARGO_PKG_NAME")) .dependencies(vec!["deno_webidl"]) - .esm(include_js_files!( - prefix "internal:ext/webstorage", - "01_webstorage.js", - )) + .esm(include_js_files!("01_webstorage.js",)) .ops(vec![ op_webstorage_length::decl(), op_webstorage_key::decl(), |