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
Is your feature request related to a problem? Please describe.
Sometimes circular dependencies are introduced in the project. Often without knowing, maybe for simple exported strings or trivial constants.
This introduces these possible problems:
webpack always refreshes the page, instead of using Hot Module Replacement;
some imports fail with no error, and the variable being imported results null or undefined;
TypeScript crazies put and laptop goes BOOOM.
Describe the solution you'd like
Add circular-dependency-plugin to Webpack by default, to error out (or a BIG warning, but I prefer error) in case of a circular dependency.
Is your feature request related to a problem? Please describe.
Sometimes circular dependencies are introduced in the project. Often without knowing, maybe for simple exported strings or trivial constants.
This introduces these possible problems:
null
orundefined
;Describe the solution you'd like
Add circular-dependency-plugin to Webpack by default, to error out (or a BIG warning, but I prefer error) in case of a circular dependency.
Related project: madge
cc @ivanross (for problem 3 and for the discovery of madge)
cc @pitou (for problem 2)
The text was updated successfully, but these errors were encountered: