Correct resolveLoader path when node_modules is in another directory? #12414
-
I'm trying to run webpack from a command line app, a wrapper around webpack using the Node api, and I'm having trouble with loader resolution when the app is installed globally. When developing locally, I can build a path like: When installing my app globally, yarn will install some of the dependencies to My understanding of the What should the value be for resolveLoader.modules so that both |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Just setup multiple of |
Beta Was this translation helpful? Give feedback.
Just setup multiple of
resolveLoader.modules
, you can specify any count of directories