#Tauri does not copy items in /src/ to dist on build

10 messages · Page 1 of 1 (latest)

warped moth
#

Heyo, I have a tuari project, in which i have mutiple HTML, CSS, and JS files, That i have added to "include" in tsconfig, but on build it does not add these items to the dist, and therefore doesnt build with these files (I assume,) which causes the application to always fallback to index.html, Is there another setting i have to change to get it to copy the contents of my SRC to the built release, or am i doing something else wrong?

Repo for my project
https://github.com/EFHDev/MTGA-Launcher

GitHub

A launcher built in Tauri for MTGA. . Contribute to EFHDev/MTGA-Launcher development by creating an account on GitHub.

glad idol
#

that is the thing that your bundler need to do

#

the bundler need to build into the dist then tauri package the dist into final executable

warped moth
#

Right now i have it set to include
"include": [
"src/**/*"
]
}

#

Which should be including everything in src/

glad idol
#

vite isn't default configure for multi entry, I think you need to configure that.

warped moth
#

Im new to vite and tauri as a whole can you throw me in the right direction to figure out how to do this? Like a doc or something?

glad idol
warped moth