Skip to main content

extract_imports

Function extract_imports 

Source
pub fn extract_imports(source: &str, path: &Path) -> Vec<String>
Expand description

Extract all import source specifiers from JS/TS source code.