-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recursive / nested source map analysis? #155
Comments
Thank you @nikolay-borzov. I am running A moment ago, I created clean CRA project and get the same analysis as you (pretty clean). Is the weird recursive nesting artifact normal, or abnormal for a mature project? Any advice in how to find the cause and fix it would be hugely appreciated. I don't quite know how to refer to this issue to do searches on it. Not sure if it's relevant, but this is my
|
A visualization like this looks abnormal to me. Could post the result of Each visualization node is built from
Turns into 5 nested nodes |
@nikolay-borzov, Apologies for the slow response. I believe I found the cause of the anomaly!! Because I develop on several systems at different locations, I use Dropbox to sync files in-real-time and then use git to manage the repo. This enables me to move freely between systems without worrying about dropping any work. HOWEVER, because Dropbox does not have a "true ignore" feature without reindexing (horridly slow), I use a symlink to ~/Downloads/project_name/node_modules. When this symlink is in place, the weird nesting happens. It seems like a perfect sync solution, but this is a newly discovered and unexpected side-effect. STEPS TO USE A SYMLINK:
A post in the Dropbox Community discussing the issue and steps can be found: Here QUESTIONS:
[edit: removed .json dump] |
I think this is the same issue as #137, Collapse non-contributing directories. |
I'm not sure where to start to investigating why this recursive / nested source map of the same chunk sizes is happening so it can be fixed, if necessary. Is this an artifact of how
source-map-explorer
visualizes the maps, or howcreate-react-app
is building, etc.? How can it be fixed?This is a new behavior I've not noticed before and seems messy.
Any input is appreciated.
The text was updated successfully, but these errors were encountered: