diff options
Diffstat (limited to 'ext/webidl/lib.rs')
-rw-r--r-- | ext/webidl/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/webidl/lib.rs b/ext/webidl/lib.rs index ae25f04c7..4e21ef796 100644 --- a/ext/webidl/lib.rs +++ b/ext/webidl/lib.rs @@ -6,7 +6,7 @@ use deno_core::Extension; /// Load and execute the javascript code. pub fn init() -> Extension { Extension::builder(env!("CARGO_PKG_NAME")) - .js(include_js_files!( + .esm(include_js_files!( prefix "internal:ext/webidl", "00_webidl.js", )) |