#Not all html files are going to the out folder (Vite)

63 messages · Page 1 of 1 (latest)

modern brook
#

Show your main process

oak elbow
#

@modern brook?

modern brook
#

Chill

oak elbow
modern brook
#

Mmm maybe you should use LoadURL instead of LoadFile

oak elbow
#

wait nvm

#

the issue isnt index.html

#

if you look at this img, 2 html files are missing in the out folder

#

and if i try to force load them then i get this error

modern brook
#

Oh makes sense

oak elbow
#

i mean it says that it will go away if i package it

#

doubt that tho

#

lemme test

oak elbow
dark hinge
oak elbow
#

and this was working earlier btw

#

idk what happened

dark hinge
#

/desktop where?

oak elbow
dark hinge
#

so?

oak elbow
#

it just randomly stopped adding search.html and login.html to the out folder

#

im using vite btw

dark hinge
#

where is login.html page?

oak elbow
#

there is an out folder that gets recreated whenyou run the code

#

and it takes the src stuff

#

but its not doing it to login and search

modern brook
#

show your renderer process

oak elbow
dark hinge
#

which one?

oak elbow
dark hinge
#
  1. Electron Security Warning
#
  1. Missing html files
#
  1. problem with vite
oak elbow
oak elbow
#

so its gone

oak elbow
dark hinge
#

missing html files is vite problem

#

or packager that you use

oak elbow
oak elbow
dark hinge
#

who making out folder?

#

and placing files into out folder

oak elbow
#

vite

#

electron.vite.config.mjs

#

cant tell if you wanna help or prove a point lmao

dark hinge
#

then you have problem with vite

oak elbow
dark hinge
#

and you cant tell what issue exactly

oak elbow
#

so what do you recommend i do?

dark hinge
#

your vite refuse to make proper production build

oak elbow
#

so what should i do?

dark hinge
#

show vite config at least?

abstract lynx
#

Your problem is not even clear

oak elbow
#

😐