Skip to content

Commit

Permalink
Merge branch 'main' of github.com:phenax/esbuild-plugin-elm into feat…
Browse files Browse the repository at this point in the history
…ure/adds-cwd-option
  • Loading branch information
phenax committed Jun 13, 2022
2 parents 9fd6bd8 + f5eab2f commit b966539
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,20 @@ esbuild.build({

### Options

* `debug` *(optional)* *(default: `false`)*
* `debug` *(default: `false`)*:

Enable the time-travelling debugger

* `optimize` *(optional)* *(default: `NODE_ENV === 'production'`)*
* `optimize` *(default: `NODE_ENV === 'production'`)*:

Optimize the js output (true by default if `NODE_ENV` is production)

* `pathToElm` *(optional)* *(default: `node_modules/.bin/elm || elm`)*
* `pathToElm` *(default: `node_modules/.bin/elm || elm`)*:

Specifiy an explicit path to the elm executable

* `clearOnWatch` *(optional)* *(default: `false`)*
* `clearOnWatch` *(default: `false`)*:

Clear the console before re-building on file changes

* `cwd` *(optional)* *(default: `<PWD>`)*
Expand Down

0 comments on commit b966539

Please sign in to comment.