Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Templates outputs ejs instead of cjs
  • Loading branch information
yamachu committed Jul 21, 2022
commit c6a4c1b1261a9cb6e6cca5d2eae3acc8f2077c1c
2 changes: 1 addition & 1 deletion src/mono/wasm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ Example use of the `wasmconsole` template:
> dotnet new wasmconsole
> dotnet publish
> cd bin/Debug/net7.0/browser-wasm/AppBundle
> node main.cjs
> node main.mjs
mono_wasm_runtime_ready fe00e07a-5519-4dfe-b35a-f867dbaf2e28
Hello World!
Args:
Expand Down
4 changes: 2 additions & 2 deletions src/mono/wasm/templates/templates/console/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Node/CommonJS console App
Node/ES Modules console App

Run the published application like:

node main.cjs
node main.mjs

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