summaryrefslogtreecommitdiff
path: root/ext/broadcast_channel
diff options
context:
space:
mode:
Diffstat (limited to 'ext/broadcast_channel')
-rw-r--r--ext/broadcast_channel/01_broadcast_channel.js6
-rw-r--r--ext/broadcast_channel/lib.rs5
2 files changed, 4 insertions, 7 deletions
diff --git a/ext/broadcast_channel/01_broadcast_channel.js b/ext/broadcast_channel/01_broadcast_channel.js
index fb23554bf..2ff301610 100644
--- a/ext/broadcast_channel/01_broadcast_channel.js
+++ b/ext/broadcast_channel/01_broadcast_channel.js
@@ -4,13 +4,13 @@
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";
import {
defineEventHandler,
EventTarget,
setTarget,
-} from "internal:ext/web/02_event.js";
-import DOMException from "internal:ext/web/01_dom_exception.js";
+} from "internal:deno_web/02_event.js";
+import DOMException from "internal:deno_web/01_dom_exception.js";
const primordials = globalThis.__bootstrap.primordials;
const {
ArrayPrototypeIndexOf,
diff --git a/ext/broadcast_channel/lib.rs b/ext/broadcast_channel/lib.rs
index 0cd17a026..85994bf97 100644
--- a/ext/broadcast_channel/lib.rs
+++ b/ext/broadcast_channel/lib.rs
@@ -112,10 +112,7 @@ pub fn init<BC: BroadcastChannel + 'static>(
) -> Extension {
Extension::builder(env!("CARGO_PKG_NAME"))
.dependencies(vec!["deno_webidl", "deno_web"])
- .esm(include_js_files!(
- prefix "internal:ext/broadcast_channel",
- "01_broadcast_channel.js",
- ))
+ .esm(include_js_files!("01_broadcast_channel.js",))
.ops(vec![
op_broadcast_subscribe::decl::<BC>(),
op_broadcast_unsubscribe::decl::<BC>(),