alexkrkn / lambda-build

Bundle, archive and upload your lambda functions
MIT License
25 stars 4 forks source link

ERROR: No loader is configured for ".webp" files #2

Open uniqueuser-repo opened 9 months ago

uniqueuser-repo commented 9 months ago

Hello!

Firstly, I want to thank @alexkrkn for this project. For some reason I couldn't find any tool like this... it seems like a major use-case.

I have a file that imports another file which imports .webp files. When I try to bundle it, I get this error for every .webp import:

/agents.ts:2:18: ERROR: No loader is configured for ".webp" files: /public/agents/Astra_icon.webp

How can we configure this loader?

uniqueuser-repo commented 9 months ago

I also note that I see the same issue for ".png".