mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-26 11:11:34 +00:00
add deno target
This commit is contained in:
@ -22,7 +22,7 @@ Options:
|
||||
--out-dir DIR Output directory
|
||||
--out-name VAR Set a custom output filename (Without extension. Defaults to crate name)
|
||||
--target TARGET What type of output to generate, valid
|
||||
values are [web, bundler, nodejs, no-modules],
|
||||
values are [web, bundler, nodejs, no-modules, deno],
|
||||
and the default is [bundler]
|
||||
--no-modules-global VAR Name of the global variable to initialize
|
||||
--browser Hint that JS should only be compatible with a browser
|
||||
@ -98,6 +98,7 @@ fn rmain(args: &Args) -> Result<(), Error> {
|
||||
"web" => b.web(true)?,
|
||||
"no-modules" => b.no_modules(true)?,
|
||||
"nodejs" => b.nodejs(true)?,
|
||||
"deno" => b.deno(true)?,
|
||||
s => bail!("invalid encode-into mode: `{}`", s),
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user