frandiox / vite-ssr

Use Vite for server side rendering in Node
MIT License
823 stars 91 forks source link

vite-ssr doesn't appear to be written in CJS, but also doesn't appear to be a valid ES module (i.e. it doesn't have "type": "module" or an .mjs extension for the entry point). Please contact the package author to fix. #198

Closed scottmillionnexient closed 1 year ago

scottmillionnexient commented 1 year ago

I got it to work by updating all dependencies to latest, but that spits out this message with npm run dev.

vite-ssr doesn't appear to be written in CJS, but also doesn't appear to be a valid ES module (i.e. it doesn't have "type": "module" or an .mjs extension for the entry point). Please contact the package author to fix.

Functions fine, but wondering if this will cause issues down the line / in production.

Any ideas? Or update on the horizon?

Amazing package by the way. EXACTLY what we were looking for!

scottmillionnexient commented 1 year ago

I see this issue already exists. Closing.