We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7fe3dfd + 8f52f10 commit 16fc059Copy full SHA for 16fc059
crates/cli-support/src/js/mod.rs
@@ -284,7 +284,7 @@ impl<'a> Context<'a> {
284
| OutputMode::Node {
285
experimental_modules: true,
286
} => {
287
- imports.push_str(&format!("import * as wasm from './{}_bg';\n", module_name));
+ imports.push_str(&format!("import * as wasm from './{}_bg.wasm';\n", module_name));
288
for (id, js) in sorted_iter(&self.wasm_import_definitions) {
289
let import = self.module.imports.get_mut(*id);
290
import.module = format!("./{}.js", module_name);
0 commit comments