You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not sure if this is the intended behavior, but when a Svelte component is imported and used as a variable like this, any lambda function that is build will fail to build with the following error: No loader is configured for ".svelte" files
I have currently "fixed" the issue by adding a "text" loader to all my functions. All my functions seem to be working correctly, but I am unsure whether this is the right way to fix it.
My fix example:
I am not sure if this is the intended behavior, but when a Svelte component is imported and used as a variable like this, any lambda function that is build will fail to build with the following error:
No loader is configured for ".svelte" files
Example to reproduce:
src/lib/test.ts:
src/functions/delete.ts:
sst.config.ts:
I have currently "fixed" the issue by adding a "text" loader to all my functions. All my functions seem to be working correctly, but I am unsure whether this is the right way to fix it.
My fix example:
The text was updated successfully, but these errors were encountered: