Skip to content

Conversation

@tannerlinsley
Copy link
Member

The @neondatabase/vite-plugin-postgres package exports postgresPlugin as a named export, not a default export. This fixes the SyntaxError when running pnpm dev on projects created with the Neon add-on.

Fixes #318

The @neondatabase/vite-plugin-postgres package exports postgresPlugin as a
named export, not a default export. This fixes the SyntaxError when running
pnpm dev on projects created with the Neon add-on.

Fixes #318
@tannerlinsley tannerlinsley marked this pull request as ready for review February 2, 2026 20:44
@tannerlinsley tannerlinsley merged commit bc4bb63 into main Feb 2, 2026
0 of 4 checks passed
@tannerlinsley tannerlinsley deleted the fix/neon-vite-plugin-import-318 branch February 2, 2026 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Initializing a new project causing error

2 participants