diff options
Diffstat (limited to 'ext/webstorage')
-rw-r--r-- | ext/webstorage/01_webstorage.js | 2 | ||||
-rw-r--r-- | ext/webstorage/lib.rs | 5 |
2 files changed, 2 insertions, 5 deletions
diff --git a/ext/webstorage/01_webstorage.js b/ext/webstorage/01_webstorage.js index d7abdfbd8..d0e75faf7 100644 --- a/ext/webstorage/01_webstorage.js +++ b/ext/webstorage/01_webstorage.js @@ -4,7 +4,7 @@ const core = globalThis.Deno.core; const ops = core.ops; -import * as webidl from "internal:ext/webidl/00_webidl.js"; +import * as webidl from "internal:deno_webidl/00_webidl.js"; const primordials = globalThis.__bootstrap.primordials; const { SafeArrayIterator, 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(), |