summaryrefslogtreecommitdiff
path: root/ext/flash
diff options
context:
space:
mode:
Diffstat (limited to 'ext/flash')
-rw-r--r--ext/flash/lib.rs9
1 files changed, 8 insertions, 1 deletions
diff --git a/ext/flash/lib.rs b/ext/flash/lib.rs
index 6eaf39944..2e2417892 100644
--- a/ext/flash/lib.rs
+++ b/ext/flash/lib.rs
@@ -1505,7 +1505,14 @@ pub trait FlashPermissions {
}
pub fn init<P: FlashPermissions + 'static>(unstable: bool) -> Extension {
- Extension::builder()
+ Extension::builder(env!("CARGO_PKG_NAME"))
+ .dependencies(vec![
+ "deno_web",
+ "deno_net",
+ "deno_fetch",
+ "deno_websocket",
+ "deno_http",
+ ])
.js(deno_core::include_js_files!(
prefix "deno:ext/flash",
"01_http.js",