summaryrefslogtreecommitdiff
path: root/ext/webstorage/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ext/webstorage/lib.rs')
-rw-r--r--ext/webstorage/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/webstorage/lib.rs b/ext/webstorage/lib.rs
index 29deaee84..d878ad701 100644
--- a/ext/webstorage/lib.rs
+++ b/ext/webstorage/lib.rs
@@ -24,7 +24,7 @@ const MAX_STORAGE_BYTES: u32 = 10 * 1024 * 1024;
pub fn init(origin_storage_dir: Option<PathBuf>) -> Extension {
Extension::builder(env!("CARGO_PKG_NAME"))
.dependencies(vec!["deno_webidl"])
- .js(include_js_files!(
+ .esm(include_js_files!(
prefix "internal:ext/webstorage",
"01_webstorage.js",
))