Closed Jedliu closed 6 months ago
Hey @Jedliu, I don't have any experience with Svelte, but it seems like Sveltekit has its own config for aliases https://kit.svelte.dev/docs/configuration#alias. Try duplicating the aliases from the main tsconfig there.
Thanks, I will look into this.
Hi, thank you for your contribution to this repo. It's the most elaborate pnpm monorepo I've found. The articles you wrote are very helpful.
I'm trying to add Sveltekit to the apps folder. I'd like to develop a package working for both the Nestjs and Sveltekit. I tried to call the package
@nighttrax/foo
inapps/sveltekit/src/routes/+page.svelte
. You could find the cloned repo here.Here are the problems I'm having:
Run the dev of Sveltekit app by
pnpm --filter=sveltekit dev
.Without building the package
@nighttrax/foo
, there is an error.@nighttrax/foo
, there is another error.Would you please advise how to make it work? Thank you!