Skip to content

Commit 84db52a

Browse files
committed
chore: Rename module specifier to file url
1 parent cda9518 commit 84db52a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

crates/sb_graph/graph_util.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,8 +311,7 @@ pub async fn create_graph(
311311
maybe_code: &Option<FastString>,
312312
) -> ModuleGraph {
313313
let module_specifier = if let Some(code) = maybe_code {
314-
let specifier =
315-
ModuleSpecifier::parse("http://internal.supabase.localhost/index.ts").unwrap();
314+
let specifier = ModuleSpecifier::parse("file:///src/index.ts").unwrap();
316315

317316
emitter_factory.file_cache().insert(
318317
specifier.clone(),

0 commit comments

Comments
 (0)