F
byFilePath
Builds a filter matching a module whose tracked file path equals the given path.
function byFilePath(path: string): MetroFilterParameters
| Name | Type | Description |
|---|---|---|
| path | string | The file path the module must have been imported from. |
Returns
MetroFilterA MetroFilter matching the module loaded from that file path.