swc_core::ecma::transforms::testing

Function parse_options

source
pub fn parse_options<T>(dir: &Path) -> T
Available on crate feature __ecma and (crate features __ecma_transforms or __testing_transform) and crate feature __testing_transform only.
Expand description

Just like babel, walk up the directory tree and find a file named options.json.