summaryrefslogtreecommitdiff
path: root/ext/websocket/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ext/websocket/lib.rs')
-rw-r--r--ext/websocket/lib.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/websocket/lib.rs b/ext/websocket/lib.rs
index a58701e7a..bc4b3876d 100644
--- a/ext/websocket/lib.rs
+++ b/ext/websocket/lib.rs
@@ -602,7 +602,8 @@ pub fn init<P: WebSocketPermissions + 'static>(
root_cert_store: Option<RootCertStore>,
unsafely_ignore_certificate_errors: Option<Vec<String>>,
) -> Extension {
- Extension::builder()
+ Extension::builder(env!("CARGO_PKG_NAME"))
+ .dependencies(vec!["deno_url", "deno_webidl"])
.js(include_js_files!(
prefix "deno:ext/websocket",
"01_websocket.js",