The code works fine with CRA, but when migrated to vite, the import statement throws error.
Its apparently assuming utils as a package because I dint prefix it with "../utils", but I don't technically have to anymore since I'm using jsconfig and it worked well in CRA
Attaching the code and error