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
Let us assume I am using a module named do-something in my package.json as a dependency. This module has package.json with entry attributes like
"main": ".",
"module": ".",
"jsnext:main": ".",
While doing bundling for this module through webpack, I get this error Module not found: Error: Recursion in resolving
I am in an assumption that, the "main": "." attribute path will resolve to "main": "index.js"
I am suspecting webpack is calling do-something module folder again and again.
I investigated more and it is coming from enhanced-resolve package that webpack uses for resolving paths. I use webpack major version 2 "webpack": "^2.4.0"
But I have tried with the latest webpack version as well, it still does not work. Is there a way in webpack to bundle these kinds of dependent modules?
The text was updated successfully, but these errors were encountered:
Let us assume I am using a module named do-something in my package.json as a dependency. This module has package.json with entry attributes like
While doing bundling for this module through webpack, I get this error
Module not found: Error: Recursion in resolving
I am in an assumption that, the
"main": "."
attribute path will resolve to"main": "index.js"
I am suspecting webpack is calling do-something module folder again and again.
I investigated more and it is coming from enhanced-resolve package that webpack uses for resolving paths. I use webpack major version 2
"webpack": "^2.4.0"
But I have tried with the latest webpack version as well, it still does not work. Is there a way in webpack to bundle these kinds of dependent modules?
The text was updated successfully, but these errors were encountered: