feat: Allow disabling legacy include preprocessor directives

This commit is contained in:
ExE Boss
2019-09-06 18:00:00 +02:00
parent 3de0adee1f
commit e3d128b2f6
2 changed files with 10 additions and 1 deletions

View File

@@ -71,6 +71,14 @@
* Whether or not to create an async function instead of a regular function.
* This requires language support.
*
* @property {boolean} [legacyInclude=true]
* Whether to enable legacy preprocessor include directives.
*
* **Example:**
* ```ejs
* <%- include foo %>
* ```
*
* @static
* @global
*/