"Uncaught SyntaxError: ambiguous indirect export"
I just wanted to take note of how I solved this with the yup package
I was getting the above error when importing like so:
import yup from 'yup'
Solved by importing using this:
import * as yup from 'yup'
I have not taken the time to look into why this error was happening but I assume it has to do with how yup
the library is being exported and how vite is processing it.
Hope this helps some poor soul out there looking for answers!