3 months ago
I've created a new bun function. It was working fine until I reloaded the page: when I go to the source code of the function, the app crashes. I've tried clearing the cache of my browser and nothing.
The console is full of these errors (I've added date-fns
to my Function)
0 Replies
3 months ago
please provide a minimal reproducible example code snippet so that we can attempt to reproduce ourselves
I assume it has to do with the dependencies I'm using. Try an empty file with
import { format } 'date-fns'
import { UTCDate } from '@date-fns/utc'
3 months ago
please provide a minimal reproducible example that you have confirmed to reproduce it
I think I know what the issue is. I’m assuming date-fns imports a lot of locale information and the requests get overloaded in Chrome. I will put out a fix for this today.
3 months ago
!s
Status changed to Solved brody • 3 months ago