pub struct JsResolveOptions {
pub tsconfig: Option<PathBuf>,
pub condition_names: Vec<String>,
pub extensions: Vec<String>,
}Expand description
Configuration for JavaScript and TypeScript module resolution.
Fields§
§tsconfig: Option<PathBuf>An optional manually selected tsconfig-format file, such as
tsconfig.json or jsconfig.json.
condition_names: Vec<String>Conditions accepted while resolving package exports.
extensions: Vec<String>File extensions probed in priority order.
Trait Implementations§
Source§impl Clone for JsResolveOptions
impl Clone for JsResolveOptions
Source§fn clone(&self) -> JsResolveOptions
fn clone(&self) -> JsResolveOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for JsResolveOptions
impl Debug for JsResolveOptions
Auto Trait Implementations§
impl Freeze for JsResolveOptions
impl RefUnwindSafe for JsResolveOptions
impl Send for JsResolveOptions
impl Sync for JsResolveOptions
impl Unpin for JsResolveOptions
impl UnsafeUnpin for JsResolveOptions
impl UnwindSafe for JsResolveOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more