Skip to content

Commit e24d948

Browse files
Use in installation instructions to align with create-resript-app's default output
1 parent e18406c commit e24d948

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pages/docs/manual/v11.0.0/installation.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ bun create rescript-app
5050
```
5151
- If you selected the "basic" template, simply run it with:
5252
```sh
53-
node src/Demo.res.js
53+
node src/Demo.res.mjs
5454
```
5555

5656
That compiles your ReScript into JavaScript, then uses Node.js to run said JavaScript.

pages/docs/manual/v12.0.0/installation.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ bun create rescript-app
4949
```
5050
- If you selected the "basic" template, simply run it with:
5151
```sh
52-
node src/Demo.res.js
52+
node src/Demo.res.mjs
5353
```
5454

5555
That compiles your ReScript into JavaScript, then uses Node.js to run said JavaScript.

0 commit comments

Comments
 (0)