Skip to content

Wrong file suffix in New Project section documentation #1049

Closed
@mrkrizic

Description

@mrkrizic

The New Project documentation on the website https://rescript-lang.org/docs/manual/v11.0.0/installation#prerequisites is not up to date.

The demo project is using the res.mjs, since it is now using esmodule. The documentation is still mentioning res.js.

So instead of running the command:
node src/Demo.res.js

You will actually need to use this command instead:
node src/Demo.res.mjs

It is a minor issue, but it is crucial for people starting out with the language that the introduction is well documented and correct.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions