summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/fetch/lib.rs12
-rw-r--r--ext/ffi/lib.rs4
-rw-r--r--ext/fs/lib.rs4
3 files changed, 3 insertions, 17 deletions
diff --git a/ext/fetch/lib.rs b/ext/fetch/lib.rs
index 647e0ec7f..75f72233e 100644
--- a/ext/fetch/lib.rs
+++ b/ext/fetch/lib.rs
@@ -149,17 +149,7 @@ pub fn init_ops<FP>(options: Options) -> Extension
where
FP: FetchPermissions + 'static,
{
- ops::<FP>(&mut ext(), options)
- .esm(include_js_files!(
- "20_headers.js",
- "21_formdata.js",
- "22_body.js",
- "22_http_client.js",
- "23_request.js",
- "23_response.js",
- "26_fetch.js",
- ))
- .build()
+ ops::<FP>(&mut ext(), options).build()
}
pub type CancelableResponseFuture =
diff --git a/ext/ffi/lib.rs b/ext/ffi/lib.rs
index f93e2e121..2b90cd1c4 100644
--- a/ext/ffi/lib.rs
+++ b/ext/ffi/lib.rs
@@ -169,7 +169,5 @@ pub fn init_ops_and_esm<P: FfiPermissions + 'static>(
}
pub fn init_ops<P: FfiPermissions + 'static>(unstable: bool) -> Extension {
- ops::<P>(&mut ext(), unstable)
- .esm(include_js_files!("00_ffi.js",))
- .build()
+ ops::<P>(&mut ext(), unstable).build()
}
diff --git a/ext/fs/lib.rs b/ext/fs/lib.rs
index 31782d38d..26904e7fe 100644
--- a/ext/fs/lib.rs
+++ b/ext/fs/lib.rs
@@ -202,9 +202,7 @@ pub fn init_ops_and_esm<P: FsPermissions + 'static>(
}
pub fn init_ops<P: FsPermissions + 'static>(unstable: bool) -> Extension {
- ops::<P>(&mut ext(), unstable)
- .esm(include_js_files!("30_fs.js",))
- .build()
+ ops::<P>(&mut ext(), unstable).build()
}
fn default_err_mapper(err: Error, desc: String) -> Error {