Is your feature request related to a problem? Please describe.
Yes – seeing I'm using eta with a bundler, I am using compile() along with a custom Vite plugin to convert eta imports into factories that will be bundled with my code. However, I noticed that include statements are preserved as is, which causes a runtime error as there is no views directory specified.
Describe the solution you'd like
I would expect templates to be fully resolved when compiled into factory methods.
Describe alternatives you've considered
Right now I'm exploring using regex to manually inline the partials, but this is less than ideal.
Additional context
N/A
Is your feature request related to a problem? Please describe.
Yes – seeing I'm using eta with a bundler, I am using
compile()along with a custom Vite plugin to convert eta imports into factories that will be bundled with my code. However, I noticed thatincludestatements are preserved as is, which causes a runtime error as there is no views directory specified.Describe the solution you'd like
I would expect templates to be fully resolved when compiled into factory methods.
Describe alternatives you've considered
Right now I'm exploring using regex to manually inline the partials, but this is less than ideal.
Additional context
N/A