summaryrefslogtreecommitdiff
path: root/ext/fetch/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ext/fetch/lib.rs')
-rw-r--r--ext/fetch/lib.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/fetch/lib.rs b/ext/fetch/lib.rs
index 78a42cd84..93c624dd6 100644
--- a/ext/fetch/lib.rs
+++ b/ext/fetch/lib.rs
@@ -97,9 +97,8 @@ where
{
Extension::builder(env!("CARGO_PKG_NAME"))
.dependencies(vec!["deno_webidl", "deno_web", "deno_url", "deno_console"])
- .js(include_js_files!(
+ .esm(include_js_files!(
prefix "internal:ext/fetch",
- "01_fetch_util.js",
"20_headers.js",
"21_formdata.js",
"22_body.js",