Repository navigation
Open
Description
Describe the bug
Vite SSG and Vite+ is broken right now as the includedRoutes are not passed down with vite-plus.
file:///Users/shyim/Developer/shopmon/frontend/node_modules/vite-ssg/dist/shared/vite-ssg.D5Fdxh1E.mjs:1427
routesPaths = Array.from(new Set(routesPaths));
^
TypeError: object is not iterable (cannot read property Symbol(Symbol.iterator))
at new Set (<anonymous>)
at build (file:///Users/shyim/Developer/shopmon/frontend/node_modules/vite-ssg/dist/shared/vite-ssg.D5Fdxh1E.mjs:1427:28)
at async CAC.<anonymous> (file:///Users/shyim/Developer/shopmon/frontend/node_modules/vite-ssg/dist/node/cli.mjs:22:3)
Node.js v25.9.0
Reproduction
https://github.com/antfu-collective/vite-ssg/tree/main/examples
Steps to reproduce
- Clone example
- Convert to vite plus (vp migrate)
- Building crashes
System Info
VITE+ - The Unified Toolchain for the Web
Environment:
Version 24.14.1
Source lts
Tool Paths:
node /Users/shyim/.vite-plus/js_runtime/node/24.14.1/bin/node
npm /Users/shyim/.vite-plus/js_runtime/node/24.14.1/bin/npm
npx /Users/shyim/.vite-plus/js_runtime/node/24.14.1/bin/npxUsed Package Manager
npm
Logs
Validations
- Read the Contributing Guidelines.
- Check that there isn't already an issue for the same bug.
- Confirm this is a Vite+ issue and not an upstream issue (Vite, Vitest, tsdown, Rolldown, or Oxc).
- The provided reproduction is a minimal reproducible example.
Reacted by MK (fengmk2)
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
None yet
Effort
None yet
Target date
None yet
Start date
None yet
Activity
TheAlexLichter commentedon Apr 6, 2026
Do you use Vitepress v2 alpha?
shyim commentedon Apr 7, 2026
Nope.. Here. Just run vp migrate and than tried to run build. Tbh: i am not sure if: the build should stay
vite-ssg buildor should be nowvp build.As both wrap around "Vite" I think it's breaking things.
Would be fine for me if it's an known issue not working, but I though i just create an issues If i just had a weird setup 😂