Skip to content

docs(exedev): add missing nodePolyfills plugin to vite config example#230

Open
andrerfneves wants to merge 1 commit into
mainfrom
maintenance/fix-exedev-vite-config-20260630
Open

docs(exedev): add missing nodePolyfills plugin to vite config example#230
andrerfneves wants to merge 1 commit into
mainfrom
maintenance/fix-exedev-vite-config-20260630

Conversation

@andrerfneves

Copy link
Copy Markdown
Owner

Summary

Adds the missing nodePolyfills plugin to the vite.config.js example in the Quick Deploy section of DEPLOYMENT_EXEDEV.md.

Why

The Quick Deploy guide showed a complete vite.config.js replacement that omitted the nodePolyfills plugin. This plugin is required to polyfill Buffer, global, and process in the browser — without it, the dev server would fail when decoding invoices because the app uses Buffer.from() in src/utils/invoices.js and src/lib/bolt11.js.

Changes

  • DEPLOYMENT_EXEDEV.md: Added the nodePolyfills import and plugin configuration to the vite config example in the Quick Deploy section.

Test Plan

  • No behavior change — documentation-only fix
  • All 52 existing tests pass
  • Production build succeeds

The Quick Deploy section showed a complete vite.config.js replacement
that omitted the nodePolyfills plugin required for Buffer, global, and
process polyfills. Without these polyfills, the dev server would fail
when trying to decode invoices because the app imports Buffer in
invoices.js and bolt11.js.
@vercel

vercel Bot commented Jun 30, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
lightning-decoder Ready Ready Preview, Comment Jun 30, 2026 10:04pm

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.

1 participant