Skip to content

Commit

Permalink
Merge pull request #489 from rosenfeld/patch-1
Browse files Browse the repository at this point in the history
Explain how to use ES6 features and documents the beautify option
  • Loading branch information
mde authored Jan 23, 2020
2 parents 275e552 + d29007d commit 27db564
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ Therefore, we do not recommend using this shortcut.
output inside scriptlet tags.
- `async` When `true`, EJS will use an async function for rendering. (Depends
on async/await support in the JS runtime.
- `beautify` Make sure to set this to 'false' in order to skip UglifyJS parsing,
when using ES6 features (`const`, etc) as UglifyJS doesn't understand them.

This project uses [JSDoc](http://usejsdoc.org/). For the full public API
documentation, clone the repository and run `npm run doc`. This will run JSDoc
Expand Down

0 comments on commit 27db564

Please sign in to comment.