mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-18 07:21:24 +00:00
Change flag to --no-modules
This commit is contained in:
@ -17,7 +17,7 @@ pub struct Bindgen {
|
||||
path: Option<PathBuf>,
|
||||
nodejs: bool,
|
||||
browser: bool,
|
||||
amd: bool,
|
||||
no_modules: bool,
|
||||
debug: bool,
|
||||
typescript: bool,
|
||||
}
|
||||
@ -37,7 +37,7 @@ impl Bindgen {
|
||||
path: None,
|
||||
nodejs: false,
|
||||
browser: false,
|
||||
amd: false,
|
||||
no_modules: false,
|
||||
debug: false,
|
||||
typescript: false,
|
||||
}
|
||||
@ -58,8 +58,8 @@ impl Bindgen {
|
||||
self
|
||||
}
|
||||
|
||||
pub fn amd(&mut self, amd: bool) -> &mut Bindgen {
|
||||
self.amd = amd;
|
||||
pub fn no_modules(&mut self, no_modules: bool) -> &mut Bindgen {
|
||||
self.no_modules = no_modules;
|
||||
self
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user