mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-16 02:00:51 +00:00
cli-support: rustfmt
This commit is contained in:
parent
d5d3e46334
commit
2d0866da9a
@ -285,7 +285,10 @@ impl<'a> Context<'a> {
|
||||
| OutputMode::Node {
|
||||
experimental_modules: true,
|
||||
} => {
|
||||
imports.push_str(&format!("import * as wasm from './{}_bg.wasm';\n", module_name));
|
||||
imports.push_str(&format!(
|
||||
"import * as wasm from './{}_bg.wasm';\n",
|
||||
module_name
|
||||
));
|
||||
for (id, js) in sorted_iter(&self.wasm_import_definitions) {
|
||||
let import = self.module.imports.get_mut(*id);
|
||||
import.module = format!("./{}.js", module_name);
|
||||
|
Loading…
x
Reference in New Issue
Block a user