pub fn is_widget_file(path: &Path, folder: &Path) -> bool
Whether path is a widget or helper file: a .ts or .tsx directly in a widgets folder.
path
.ts
.tsx