Skip to main content

parse_imports

Function parse_imports 

Source
pub fn parse_imports(script_setup: &str) -> Vec<VanImport>
Expand description

Parse import X from './path.van' statements from a script setup block. Supports both relative paths (./foo.van, ../bar.van) and scoped packages (@scope/pkg/file.van).