GiS#91
CDCloudflare Developers
•Created by GiS#91 on 8/31/2024 in #pages-help
Import mustache templates in Function
Hi everyone!
I'm relatively new in Pages/Functions. I'm trying to import some mustache templates in my Function like so:
From what it's my current understanding, it should be possible to include a mustache template as a Text asset by setting a proper bundling rule in wrangler.toml like so:
Anyway, when I run I get the error "No loader is configured for ".mustache" files".
Any ideas? Thank you in advance!
1 replies