docs(readme): update 'root' option reference (can be array)

This commit is contained in:
Leonardo Matos
2020-03-23 16:52:11 -03:00
parent 3b07434a1c
commit 4b07fc523e

View File

@@ -61,6 +61,7 @@ Therefore, we do not recommend using this shortcut.
- `filename` The name of the file being rendered. Not required if you
are using `renderFile()`. Used by `cache` to key caches, and for includes.
- `root` Set project root for includes with an absolute path (/file.ejs).
Can be array to try to resolve include from multiple directories.
- `context` Function execution context
- `compileDebug` When `false` no debug instrumentation is compiled
- `client` When `true`, compiles a function that can be rendered