ejs icon indicating copy to clipboard operation
ejs copied to clipboard

Missing transitive dependencies when including template into included template

Open astik opened this issue 6 years ago • 0 comments

If we have those templates :

// ENTRY : header-0.ejs
<%- include header-1.ejs %>

// header-1.ejs
<%- include header-2.ejs %>

// header-2.ejs
<div>Hello world</div>

Template dependencies are defined like this :

  • header-0 will depend on header-1 and itself
  • header-1 will depend on header-2 and itself
  • header-2 will depend on itself

header-0 does not get the transitive dependency. It should also depends on header-2.

astik avatar Feb 24 '19 15:02 astik