mpellegrini / fullstack-typescript-monorepo-starter

1 stars 1 forks source link

fix(apps/sveltekit-example-app): bundling issue with oslo and vite build #52

Closed mpellegrini closed 5 months ago

mpellegrini commented 5 months ago

when running vite build was getting the following error:

vite v5.2.9 building SSR bundle for production...
✓ 549 modules transformed.
x Build failed in 5.75s
error during build:
RollupError: Unexpected character '�'

Even though oslo is being brought in as a dependency in @packages/auth-lucia it was still trying to be bundled by svelte as oslo was not physically present in the SvelteKit app's package.json as a dependency.