NagariaHussain / doppio

A Frappe app (CLI) to magically setup single page applications and Vue/React powered desk pages on your custom Frappe apps.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

image

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.