Replies: 9 comments 2 replies
-
@hawaiiH why is this not planned? I wanna develop a component library alongside a website front end and update it as i go. can't we do this? |
Beta Was this translation helpful? Give feedback.
-
@hawaiiH see if this repo of mine meets your needs : https://github.com/omidNejadabbasi/notit the |
Beta Was this translation helpful? Give feedback.
-
Same problem here, doesn't seem to work well with npm workspaces when there are multiple svelte projects inside the monorepo |
Beta Was this translation helpful? Give feedback.
-
Rich's presentations are so enticing I want to use runes! but my monorepo that used to work now gives me this
Windows 11. Node 20 |
Beta Was this translation helpful? Give feedback.
-
Please provide a minimal reproduction in the form of a downloadable repository. |
Beta Was this translation helpful? Give feedback.
-
@suamai @ryoppippi Here is a working example of mine: https://github.com/omidNejadabbasi/notit |
Beta Was this translation helpful? Give feedback.
-
I'm going to convert this issue to a discussion and update the title to reflect that this is about building libraries with svelte-package in a monorepo. neither sveltekit nor svelte-package currently provide this setup as a first class feature, so its not a bug with either of them. |
Beta Was this translation helpful? Give feedback.
-
I have started using the npm flag install-strategy=nested
|
Beta Was this translation helpful? Give feedback.
-
Describe the bug
When setting up a monorepo with a SvelteKit application, I encounter a build error. The
npm i
command installs packages correctly, but during the build process, the Svelte module (or Vite) seems to be read from the rootnode_modules
instead of the localnode_modules
in the SvelteKit application.Repository Structure
Relevant
package.json
Configurationspackage.json
:clients/sveltekit-application/package.json
:Reproduction
Logs
System Info
Severity
blocking all usage of SvelteKit
Additional Information
No response
Beta Was this translation helpful? Give feedback.
All reactions