summaryrefslogtreecommitdiff
path: root/ext/url/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ext/url/lib.rs')
-rw-r--r--ext/url/lib.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/url/lib.rs b/ext/url/lib.rs
index ba1167d54..6990017f5 100644
--- a/ext/url/lib.rs
+++ b/ext/url/lib.rs
@@ -18,7 +18,8 @@ use crate::urlpattern::op_urlpattern_parse;
use crate::urlpattern::op_urlpattern_process_match_input;
pub fn init() -> Extension {
- Extension::builder()
+ Extension::builder(env!("CARGO_PKG_NAME"))
+ .dependencies(vec!["deno_webidl"])
.js(include_js_files!(
prefix "deno:ext/url",
"00_url.js",