create-rescript-app icon indicating copy to clipboard operation
create-rescript-app copied to clipboard

Typo in the basic Readme

Open bentxt opened this issue 1 year ago • 0 comments

Nothing bad just a little confusing for a newcomer

in https://github.com/rescript-lang/create-rescript-app/blob/master/templates/rescript-template-basic/README.md

Does Rescript generate a Commonjs module here? Because the file extension is 'mjs'

So you have to change this lines from:

## Run
 
` ` `sh
 node src/Demo.res.js
` ` `

into:

 ## Run
 
` ` `sh
 node src/Demo.res.mjs
` ` `

(I've put whitespace between backticks, please remove them)

bentxt avatar Aug 22 '24 11:08 bentxt