The include functionality was suppose to be included with EJS 2. "Includes are inserted at runtime, so you can use variables for the path in the include call (for example <%- include(somePath) %>)" - https://github.com/mde/ejs#includes
ERROR in TypeError: layout.html:12
10| </head>
11| <body>
>> 12| <%- include(htmlWebpackPlugin.options.page) %>
13| </body>
14| </html>
15|
include is not a function
- loader.js:37 anonymous
[layout.html?.]/[html-webpack-plugin]/lib/loader.js:37:22
- index.js:284 Promise.resolve.then
[testing]/[html-webpack-plugin]/index.js:284:18
- next_tick.js:68 process._tickCallback
internal/process/next_tick.js:68:7
The include functionality was suppose to be included with EJS 2. "Includes are inserted at runtime, so you can use variables for the path in the include call (for example <%- include(somePath) %>)" - https://github.com/mde/ejs#includes