Skip to content

docs: fix DEPLOYMENT_EXEDEV.md incomplete vite.config.js example#187

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

docs: fix DEPLOYMENT_EXEDEV.md incomplete vite.config.js example#187
andrerfneves wants to merge 1 commit into
mainfrom
maintenance/fix-exedev-deploy-vite-config-20260615

Conversation

@andrerfneves

Copy link
Copy Markdown
Owner

Summary

Fixes the vite.config.js example in the exe.dev deployment guide to include the nodePolyfills plugin and build/test` configuration that the project actually requires.

Why

The example omitted the vite-plugin-node-polyfills plugin, which provides Buffer, crypto, and process polyfills required by bolt11.js at runtime. If a user copied the example verbatim to configure their exe.dev deployment, the app would silently fail with Buffer is not defined errors.

Additionally, the example was missing build.outDir: 'build' and test configuration, meaning builds would output to dist by default (mismatching the project's expected build/ directory).

Changes

  • DEPLOYMENT_EXEDEV.md: Updated the vite.config.js example in the "Configure Vite for exe.dev" section to match the project's actual configuration with exe.dev additions

Test Plan

  • The example now matches the actual vite.config.js plus the exe.dev-specific server.host, server.port, and server.allowedHosts additions
  • No behavior change — documentation-only change

The vite.config.js example in the exe.dev deployment guide omitted
the nodePolyfills plugin and build/test configuration. If a user
copied the example verbatim, it would break the app at runtime
because Buffer and crypto polyfills (required by bolt11.js) would
be missing.

The example now matches the project's actual vite.config.js while
adding the exe.dev-specific server.host, server.port, and
server.allowedHosts configuration.
@vercel

vercel Bot commented Jun 15, 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 15, 2026 8:05pm

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