solid build works, vite build doesn't

i have a website that should be SSG'd for use in a Tauri app (https://tauri.app/). when i run solid build, it works fine. vite build doesn't though. am i supposed to worry?
PS F:\Rust\windows-assistant> vite build
vite v4.4.6 building for production...
✓ 0 modules transformed.
Inspect report generated at F:\Rust\windows-assistant\.solid\inspect
✓ built in 843ms
Could not resolve entry module "index.html".
error during build:
RollupError: Could not resolve entry module "index.html".
at error (file:///F:/Rust/windows-assistant/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:2245:30)
at ModuleLoader.loadEntryModule (file:///F:/Rust/windows-assistant/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:24695:20)
at async Promise.all (index 0)
PS F:\Rust\windows-assistant>
PS F:\Rust\windows-assistant> vite build
vite v4.4.6 building for production...
✓ 0 modules transformed.
Inspect report generated at F:\Rust\windows-assistant\.solid\inspect
✓ built in 843ms
Could not resolve entry module "index.html".
error during build:
RollupError: Could not resolve entry module "index.html".
at error (file:///F:/Rust/windows-assistant/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:2245:30)
at ModuleLoader.loadEntryModule (file:///F:/Rust/windows-assistant/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:24695:20)
at async Promise.all (index 0)
PS F:\Rust\windows-assistant>
2 Replies
Createch_472
Createch_4722y ago
What does your project structure look like? Specifically, where is index.html located?
Revxrsal
RevxrsalOP2y ago
the project was created by pnpm create solid, the only index.html i can see is the one in /dist/public there's one in .solid and .solid/inspect too
Want results from more Discord servers?
Add your server