From 0fef35ad7540d3d45a8843f54805acae5f7d7a53 Mon Sep 17 00:00:00 2001 From: Florian Hammerschmidt Date: Fri, 13 Jun 2025 15:43:54 +0200 Subject: [PATCH] Use .res.mjs in installation instructions to align with create-rescript-app --- pages/docs/manual/v11.0.0/installation.mdx | 2 +- pages/docs/manual/v12.0.0/installation.mdx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/docs/manual/v11.0.0/installation.mdx b/pages/docs/manual/v11.0.0/installation.mdx index 5fa992e07..9a2735204 100644 --- a/pages/docs/manual/v11.0.0/installation.mdx +++ b/pages/docs/manual/v11.0.0/installation.mdx @@ -50,7 +50,7 @@ bun create rescript-app ``` - If you selected the "basic" template, simply run it with: ```sh - node src/Demo.res.js + node src/Demo.res.mjs ``` That compiles your ReScript into JavaScript, then uses Node.js to run said JavaScript. diff --git a/pages/docs/manual/v12.0.0/installation.mdx b/pages/docs/manual/v12.0.0/installation.mdx index 67d71f923..baa53d270 100644 --- a/pages/docs/manual/v12.0.0/installation.mdx +++ b/pages/docs/manual/v12.0.0/installation.mdx @@ -49,7 +49,7 @@ bun create rescript-app ``` - If you selected the "basic" template, simply run it with: ```sh - node src/Demo.res.js + node src/Demo.res.mjs ``` That compiles your ReScript into JavaScript, then uses Node.js to run said JavaScript.