You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I have in my my code say require("immutable") and in an npm linked module elsewhere on my system the same require code it gets treated as two different libraries when factored and doesn't end up in the common bundle.
It's odd, and it works fine when not using npm link. I can only assume it's something to do with the paths of those files being quite different (ie, when linked it's not in the normal dep tree of the core code).
Frustrating though, especially when dealing with applications that are developed locally with private modules as abstracted parts of the core app. It very much bloats the code.
The text was updated successfully, but these errors were encountered:
If I have in my my code say
require("immutable")
and in annpm link
ed module elsewhere on my system the same require code it gets treated as two different libraries when factored and doesn't end up in the common bundle.It's odd, and it works fine when not using
npm link
. I can only assume it's something to do with the paths of those files being quite different (ie, when linked it's not in the normal dep tree of the core code).Frustrating though, especially when dealing with applications that are developed locally with private modules as abstracted parts of the core app. It very much bloats the code.
The text was updated successfully, but these errors were encountered: