Skip to content

Commit

Permalink
polish readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristophP committed Sep 30, 2020
1 parent 17e7f56 commit 5982e35
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ npm i -g elm-esm
elm-esm make src/Main.elm --output=myElmModule.js
```

`elm-esm` accepts one extra option called `--compiler=path/to/elm>`. By default it looks
`elm-esm` accepts one extra option called `--compiler=path/to/elm`. By default it looks
for an elm compiler in the following order.
- In the nearest node_modules/.bin
- In your $PATH
- In whatever you pass with the `--compiler=path/to/elm` flag
1. In the nearest `node_modules/.bin`
2. In your `$PATH`
3. In whatever you pass with the `--compiler=path/to/elm` flag

## FAQs

Expand Down Expand Up @@ -83,7 +83,7 @@ still only has [experimental support for ESM](https://nodejs.org/docs/latest-v14
It's only tested for Elm 0.19.1, but it may work with 0.19.0 too.
Please open you run into issues here.

### What if I compile to an HTML file
### What if I compile to an HTML file?

Nothing happens. Having an inline script with `type=module` doesn't make sense
with exports since I don't thin you can import it anywhere else;

0 comments on commit 5982e35

Please sign in to comment.