vite crashes on pg-types
When importing
It's caused by a common NPM max compat export pattern below in
Update
Found the solution before I can post this, sharing it here. Just add external to your vite.config.js.
npm:pg-types@^4.1.0 during SSR, it fails with the following error.It's caused by a common NPM max compat export pattern below in
postgres-bytea.Update
Found the solution before I can post this, sharing it here. Just add external to your vite.config.js.
stacktrace.txt1.88KB
