Reusing available published dependencies from dependencies #189
Unanswered
nathanfallet
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
I'm afraid not as this is a long standing kotlin/js limitation (there are multiple issues for this on their youtrack). If you really want separate module publications, you could not have them depend on each other directly but rather depend on their compiled js outputs via |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a Kotlin library with multiple modules, with dependencies between them.
Currently, when I publish them to npm, each one gets all its dependencies bundled into the package.
Is there a way to avoid this, and use existing published npm packages instead as dependencies?
Example:
coremodule to npm as@org/core.somethingthat depends oncoremodule. It gets published as@org/somethingI would like
@org/somethingto depends on@org/core, instead of it being independent and bundlecoreinside of itself.Beta Was this translation helpful? Give feedback.
All reactions