Expand description
Module resolution for standalone analysis.
Implements Node.js-style module resolution algorithm without requiring the full bundler infrastructure.
Structs§
- Module
Resolver - Module resolver for standalone analysis.
Constants§
- EXTENSIONS
- Supported file extensions for module resolution.
Functions§
- is_
external - Check if a specifier is explicitly marked as external.
- resolve_
local - Resolve a local file path (relative or absolute).
- resolve_
path_ alias - Resolve a path alias (e.g., “@/components” → “./src/components”).
- resolve_
with_ alias - Resolve a module specifier using path aliases.
- resolve_
with_ extensions - Resolve a local file path with extension and index file fallbacks.