Skip to main content

is_typescript_path

Function is_typescript_path 

Source
pub fn is_typescript_path(path: &Path) -> bool
Expand description

True when a path’s extension marks it as TypeScript (.ts/.tsx/ .mts/.cts) and so must be transpiled through the bundler.