Resolver API
Rspack uses the higher-performance rspack-resolver written in Rust to replace webpack's enhanced-resolve, and experimentally re-exports these APIs through rspack.experiments.resolver. This allows you to directly call rspack-resolver's functions like resolver.sync or resolver.async.
For complete usage and options, see rspack-resolver. Below is a simple example demonstrating how to use Rspack to resolve module paths:

