Skip to content

Commit e1764aa

Browse files
authored
Templates outputs ejs instead of cjs (#71951)
1 parent db6cf45 commit e1764aa

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/mono/wasm/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ Example use of the `wasmconsole` template:
188188
> dotnet new wasmconsole
189189
> dotnet publish
190190
> cd bin/Debug/net7.0/browser-wasm/AppBundle
191-
> node main.cjs
191+
> node main.mjs
192192
mono_wasm_runtime_ready fe00e07a-5519-4dfe-b35a-f867dbaf2e28
193193
Hello World!
194194
Args:
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
Node/CommonJS console App
1+
Node/ES Modules console App
22

33
Run the published application like:
44

5-
node main.cjs
5+
node main.mjs
66

77
in `bin/$(Configuration)/net7.0/browser-wasm/AppBundle` directory.

0 commit comments

Comments
 (0)