summaryrefslogtreecommitdiff
path: root/ext/web/lib.rs
diff options
context:
space:
mode:
authorNayeem Rahman <nayeemrmn99@gmail.com>2023-07-01 23:52:30 +0100
committerGitHub <noreply@github.com>2023-07-02 00:52:30 +0200
commitb9c0e7cd550ab14fa7da7e33ed87cbeeeb9785a0 (patch)
tree9212eb183ab3c21ee71531e54f2c16163d1792b7 /ext/web/lib.rs
parent4e2f02639ef2cbcfdd335c4446f6faa6a29ad264 (diff)
Reland "fix(cli): don't store blob and data urls in the module cache" (#18581)
Relands #18261 now that https://github.com/lucacasonato/esbuild_deno_loader/pull/54 is landed and used by fresh. Fixes #18260.
Diffstat (limited to 'ext/web/lib.rs')
-rw-r--r--ext/web/lib.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/web/lib.rs b/ext/web/lib.rs
index af213b5be..374815804 100644
--- a/ext/web/lib.rs
+++ b/ext/web/lib.rs
@@ -29,6 +29,7 @@ use std::borrow::Cow;
use std::cell::RefCell;
use std::fmt;
use std::path::PathBuf;
+use std::sync::Arc;
use std::usize;
use crate::blob::op_blob_create_object_url;
@@ -110,7 +111,7 @@ deno_core::extension!(deno_web,
"15_performance.js",
],
options = {
- blob_store: BlobStore,
+ blob_store: Arc<BlobStore>,
maybe_location: Option<Url>,
},
state = |state, options| {