summaryrefslogtreecommitdiff
path: root/ext/crypto/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ext/crypto/lib.rs')
-rw-r--r--ext/crypto/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/crypto/lib.rs b/ext/crypto/lib.rs
index 906e7d06f..de47e467b 100644
--- a/ext/crypto/lib.rs
+++ b/ext/crypto/lib.rs
@@ -75,7 +75,7 @@ use crate::shared::RawKeyData;
pub fn init(maybe_seed: Option<u64>) -> Extension {
Extension::builder(env!("CARGO_PKG_NAME"))
.dependencies(vec!["deno_webidl", "deno_web"])
- .js(include_js_files!(
+ .esm(include_js_files!(
prefix "internal:ext/crypto",
"00_crypto.js",
"01_webidl.js",