mirror of
https://github.com/CryptKeeperZK/ejs.git
synced 2026-01-09 15:37:57 -05:00
Explain how to use ES6 features and documents the beautify option
The beautify option documentation was missing.
This commit is contained in:
committed by
GitHub
parent
275e552902
commit
d29007d63f
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user