Skip to content

docs: add custom Node.js mirror docs and rename VITE_NODE_DIST_MIRROR to VP_NODE_DIST_MIRROR#1254

Open
kazupon wants to merge 2 commits intovoidzero-dev:mainfrom
kazupon:fix/1245
Open

docs: add custom Node.js mirror docs and rename VITE_NODE_DIST_MIRROR to VP_NODE_DIST_MIRROR#1254
kazupon wants to merge 2 commits intovoidzero-dev:mainfrom
kazupon:fix/1245

Conversation

@kazupon
Copy link
Copy Markdown
Collaborator

@kazupon kazupon commented Apr 1, 2026

resolve #1245

@netlify
Copy link
Copy Markdown

netlify bot commented Apr 1, 2026

Deploy Preview for viteplus-preview ready!

Name Link
🔨 Latest commit 5acf197
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-preview/deploys/69cd37cb1a2f2f00080c6aa3
😎 Deploy Preview https://deploy-preview-1254--viteplus-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.


## Custom Node.js Mirror

By default, Vite+ downloads Node.js from `https://nodejs.org/dist`. If you're behind a corporate proxy or need to use an internal mirror (e.g., Artifactory), set the `VITE_NODE_DIST_MIRROR` environment variable:
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it be more appropriate to rename VITE_NODE_DIST_MIRROR to VP_NODE_DIST_MIRROR? We’ve already switched all other Vite+ related environment variable names to use the VP_ prefix.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've just fixed this issue.

@kazupon kazupon changed the title docs: add node.js install with mirror docs: add custom Node.js mirror docs and rename VITE_NODE_DIST_MIRROR to VP_NODE_DIST_MIRROR Apr 1, 2026
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.

Add note about using a custom Node Mirror

2 participants