michmich112 / sveltekit-adapter-chrome-extension

Sveltekit adapter for making chrome extensions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

no index.html in build directory

sebmade opened this issue · comments

just start working with this with the lastest version of sveltekit
npm run build don't generate index.html in the build directory
do I miss something ?

You probably want src/routes/+layout.js (or +layout.ts for typescript projects) with the following:

export const ssr = false

that's it, thanks
I was thinking the adapter do the work for me ;)

I'm working on mine now, this is better:

export const prerender = true;

and remove the previous line above.