#Clean Build Tauri App.
7 messages · Page 1 of 1 (latest)
did you tried regular build?
The error wasn’t really resolved by anything I tried. Regular building worked but I can’t inspect element also this may be a bigger problem with my setup. I’m having some people I am working who are more experienced take a look at it. It might be something to do with the way the port is closing.
do you use devtools set to false ?
or tauri automaticly blocking devtools after build ?
I don't really know what that means. I get this error:
[plugin:vite:css] [postcss] /home/saxophonin/dashboard/src/lib/Draggable.svelte?svelte&type=style&lang.css:1:1: Unknown word
I don't get any errors when I use pnpm tauri build. I only get that error with pnpm tauri dev. Draggable.svelte is also only causing issues when I have a <style> tag in it and none of my other files have that.
i'd recommend reaching out to the svelte community tbh. They'll probably be able to help you better. You can force a clean rebuild with vite --force as your dev command (in package.json) though it may not even be the issue.