Webpack is not resolving node_modules specified in resolve.modules
property.
#18289
Qualphey
started this conversation in
Show and tell
Replies: 2 comments 7 replies
-
Please use |
Beta Was this translation helpful? Give feedback.
4 replies
-
Okay I've created a reproduction repository. I've test if the steps work. Please let me know if you get the same result:
|
Beta Was this translation helpful? Give feedback.
3 replies
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.
-
Bug report
Webpack is not resolving node_modules specified in
resolve.modules
property.Steps to reproduce:
webpack
API to bundle javascript.resolve.modules
config option to specify local modules path.Now even if webpack config contains:
The script will still fail:
This is mostly how my configuration looks like, despite the fact extra
resolve.modules
properties are not there.Expected behaviour is all dependencies getting resolved and script bundled.
webpack version: 5.91.0
Node.js version: v21.7.1
Operating System: Arch Linux
Beta Was this translation helpful? Give feedback.
All reactions