bug: "module" in package.json causes error in importing proxyOptions
nikkothari22 opened this issue · comments
The default Vite configuration adds "type": "module"
to package.json. Refer here
This causes an error while starting the live server because proxyOptions is exported
One possible solution is to remove "type": "module"
from package.json. Or we could export proxyOptions in a cjs file or as a standard export.