Bundling dependencies using Svelte Package #9865
Replies: 2 comments
-
I think this isn't a Basically, if you just |
Beta Was this translation helpful? Give feedback.
-
Converting to a discussion since this is a usage question. What @tcc-sejohnson proposes should work. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the problem
I have an nx monorepo where I have svelte components.. each as a package, internal and utils package separately which are just plain typescript package. The structure of my monorepo currently looks something like:-
I use svelte-package to package these individually. The package script in process, internal and utils looks like
"package": "svelte-package -i src && publint"
. So, here's my question.. process depends on function from internal and utils. Right now using the mentioned above.. I can package and publish these three packages to npm no problem. But if I wanna use the process package and install it to any other project.. right now with that I have to install both internal and utils package as well to make process package work. I was wondering is there any way I can make process package work by its own without needing to install internal and utils packages as well.Describe the proposed solution
I don't know what solution for that could be.. or it even is a problem or not. But it would be nice if I could implement the mentioned above.
Alternatives considered
No response
Importance
would make my life easier
Additional Information
No response
Beta Was this translation helpful? Give feedback.
All reactions