mirror of
https://github.com/swc-project/swc.git
synced 2024-11-23 09:38:16 +03:00
ParseOptions.is_module
This commit is contained in:
parent
d53c94f1fb
commit
8622193d04
@ -35,6 +35,9 @@ pub struct ParseOptions {
|
||||
pub comments: bool,
|
||||
#[serde(flatten)]
|
||||
pub syntax: Syntax,
|
||||
|
||||
#[serde(default = "default_is_module")]
|
||||
pub is_module: bool,
|
||||
}
|
||||
|
||||
#[derive(Default, Serialize, Deserialize)]
|
||||
|
Loading…
Reference in New Issue
Block a user