I'm having some bad time with the build of a Vue3 app for production, literally 90% of my scripts are broken in production and that's related to my variables being undefined in production, I really don't know why this occurs. But for one of them I have a concrete example :
I access a parameter value in my route using this.$route.params.myParameter which works totally fine in dev mode, but in prod it's undefined and crash the whole thing
I can edit the question with code snipets but I don't think it's required
Figured out myself what was wrong with the whole stuff,
fitst I was using this.myObj in some component's template which = bad, remove the this, sadly Vue doesn't warn you about that.
Secondly I remade my inputs because using v-model with them does't worked in prod for a mysterious reason, so now it use $event.target.value on v-on:input