quick-start
quick-start copied to clipboard
add option to start with SvelteKit instead of Svelte
Clear and concise description of the problem
self explanatory
Used Scaffolding
create-electron
Suggested solution
Please add an option to add SvelteKit and SvelteKit typescript to a new project
Alternative
No response
Additional context
No response
Validations
- [X] Follow the Code of Conduct.
- [X] Read the Contributing Guidelines.
- [X] Read the docs.
- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
I have a template which got it working on dev, but compiling it to an executable gives me an error that it needs an index.html.
The following Vite config options will be overridden by SvelteKit:
- root
The following Vite config options will be overridden by SvelteKit:
- build.outDir
- build.rollupOptions.input
The electron vite renderer config build.target is not "chrome?" or "es?". This could be a mistake.
vite v5.3.4 building SSR bundle for production...
✓ 79 modules transformed.
vite v5.3.4 building for production...
✓ 0 modules transformed.
x Build failed in 3ms
x Build failed in 738ms
error during build:
[vite-plugin-sveltekit-compile] Could not resolve entry module "index.html".
Could not resolve entry module "index.html".
at getRollupError (file:///home/roboroads/BagOfHolding/I.T.it/Projects/electron-vite-sveltekit/node_modules/rollup/dist/es/shared/parseAst.js:392:41)
at error (file:///home/roboroads/BagOfHolding/I.T.it/Projects/electron-vite-sveltekit/node_modules/rollup/dist/es/shared/parseAst.js:388:42)
at ModuleLoader.loadEntryModule (file:///home/roboroads/BagOfHolding/I.T.it/Projects/electron-vite-sveltekit/node_modules/rollup/dist/es/shared/node-entry.js:19157:20)
at async Promise.all (index 0)
Very much interested in having SvelteKit be an option instead of plain Svelte.