You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 13, 2025. It is now read-only.
hi, i believe we all are receiving these warnings:
i've been trying to catch them at some places in this package so we could create a setting at createInertiaApp function, where user would list their specific warnings and they would've been disabled for dev env. well, they are not present in prod env anyway.
if you have idea where could these be intercepted, please let me know and i'd make a pr.
i did something similar with ziggy's routes which svelte compiler doesnt like, because they are undefined. solved in vite.config.js like this:
svelte({
onwarn: (warning, handler) => {
if (warning.message.includes("'route' is not defined")) return;
handler(warning);
},
}),