Closed smalers closed 3 years ago
The changes have been pushed with fixes for all warnings except for the budgets. Will close after Steve confirms they have disappeared.
The InfoMapper's angular.json
file contains a list of 'common JS' dependencies that are allowed in the project. Angular suggests not to use common JS packages and instead use ECMAScript modules. Using the older common JS modules can prevent bundlers and minifiers from optimizing an application. Some of these packages are necessary for the InfoMapper to function, such as geoblaze
and georaster-layer-for-leaflet
, but might not have the option.
The warnings will not show up anymore, and the InfoMapper's bundle sizes might be larger because of this. I will keep a lookout for trying to find ways to use these modules in a better way, and update them as I find solutions for each.
Adding the older but necessary JS packages to the angular.json
commonJS depenendency array stops the warnings, and won't be an issue for the InfoMapper going into the future. Closing this issue.
I ran the script to deploy the website and see the following warnings, which I have not seen before. What are they and should we be concerned?