When working with the video browser app, I ran into mgeisler/video-browser#6. That issue is blocked because zpm expands all UI files as Jinja2 templates.
I suggest that we only expand UI files ending in .tmpl or similar. We would then also rename the files after expanding them. So if zapp.yaml has
ui:
- index.html.tmpl
- somelib.js
then we would run index.html.tmpl through Jinja2 and store the result as index.html in the zapp. We would not modify somelib.js at all, just include it in the zapp.
When working with the video browser app, I ran into mgeisler/video-browser#6. That issue is blocked because
zpm
expands all UI files as Jinja2 templates.I suggest that we only expand UI files ending in
.tmpl
or similar. We would then also rename the files after expanding them. So ifzapp.yaml
hasthen we would run
index.html.tmpl
through Jinja2 and store the result asindex.html
in the zapp. We would not modifysomelib.js
at all, just include it in the zapp.