Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mischnic committed Jul 26, 2024
1 parent 4c27a05 commit dd8d510
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions crates/turbopack-core/src/resolve/options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -411,23 +411,6 @@ impl ImportMap {
// TODO lookup pattern
// relative requests must not match global wildcard aliases.

// match &*request.await? {
// Request::Raw { path, .. } => todo!(),
// Request::Relative { path, .. } => todo!(),
// Request::Module { module, path, .. } => todo!(),
// Request::ServerRelative { path, .. } => todo!(),
// Request::Windows { path, .. } => todo!(),
// Request::Empty => todo!(),
// Request::PackageInternal { path } => todo!(),
// Request::Uri {
// protocol,
// remainder,
// ..
// } => todo!(),
// Request::Unknown { path } => todo!(),
// Request::Dynamic => todo!(),
// Request::Alternatives { requests } => todo!(),
// }
use turbo_tasks::debug::ValueDebug;
println!("lookup 1 {:?}", request.dbg().await?);
if let Some(request_pattern) = request.await?.request_pattern() {
Expand Down

0 comments on commit dd8d510

Please sign in to comment.