still working for angular 18? Since i only see the error: Could't analyze webpack bundle: TypeError: Cannot read properties of undefined (reading 'filter')
If we only need to visualize the project dependencies and its sizes, then there is no need for a custom webpack file. However, if we need to work on minimizing the bundle size, then we must have a custom webpack file. Another option would be to look for tree shakeable libraries, which will only add the relevant code in your project.
@@ng-tips What if there are multiple apps in your project. How can you completely block moment from app B if only app A uses it. Would you still have to do the custom webpack?
still working for angular 18? Since i only see the error:
Could't analyze webpack bundle:
TypeError: Cannot read properties of undefined (reading 'filter')
not working in angular 17
Is there any way to do this without the custom webpack?
If we only need to visualize the project dependencies and its sizes, then there is no need for a custom webpack file. However, if we need to work on minimizing the bundle size, then we must have a custom webpack file.
Another option would be to look for tree shakeable libraries, which will only add the relevant code in your project.
@@ng-tips What if there are multiple apps in your project. How can you completely block moment from app B if only app A uses it. Would you still have to do the custom webpack?