Closed pedroborges closed 1 month ago
Sam reported that the new svelte adapter adds ~500 kb to his app bundle size.
After some investigation I found the culprit, it’s the way we import the VERSION constant from the Svelte compiler in the createInertiaApp.ts. This PR fixes that.
VERSION
createInertiaApp.ts
Sam reported that the new svelte adapter adds ~500 kb to his app bundle size.
After some investigation I found the culprit, it’s the way we import the
VERSION
constant from the Svelte compiler in thecreateInertiaApp.ts
. This PR fixes that.Before
After