summaryrefslogtreecommitdiff
path: root/ext/web/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ext/web/lib.rs')
-rw-r--r--ext/web/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/web/lib.rs b/ext/web/lib.rs
index c677bb8e9..4fcc06ef4 100644
--- a/ext/web/lib.rs
+++ b/ext/web/lib.rs
@@ -64,7 +64,7 @@ pub fn init<P: TimersPermission + 'static>(
) -> Extension {
Extension::builder(env!("CARGO_PKG_NAME"))
.dependencies(vec!["deno_webidl", "deno_console", "deno_url"])
- .js(include_js_files!(
+ .esm(include_js_files!(
prefix "internal:ext/web",
"00_infra.js",
"01_dom_exception.js",