Skip to content

Commit

Permalink
node: use es6 (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
jchavarri authored Mar 11, 2024
1 parent 88b0aed commit de35be3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-sample-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ jobs:

- name: Run Node app
run: |
node _build/default/src/node/src/Hello.js
node _build/default/src/node/src/Hello.mjs
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ So for example, [`src/Hello.ml`](src/Hello.ml) (using OCaml syntax) can be run w
`node`:

```bash
node _build/default/src/node/src/Hello.js
node _build/default/src/node/src/Hello.mjs
```

Similarly, `_build/default/src/output/src/ReactApp.js` can be passed as entry to a bundler
Expand Down
2 changes: 1 addition & 1 deletion src/dune
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@
(alias node)
(libraries world)
(modules hello)
(module_systems commonjs))
(module_systems (es6 mjs)))

0 comments on commit de35be3

Please sign in to comment.