Clean build warnings on CommonJS modules
At compilation, there is a bunch of these warnings:
npm run build
...
▲ [WARNING] bundle initial exceeded maximum budget. Budget 1.00 MB was not met by 16.19 kB with a total of 1.02 MB.
▲ [WARNING] src/app/views/gauging/gauging.component.scss exceeded maximum budget. Budget 7.00 kB was not met by 231 bytes with a total of 7.23 kB.
▲ [WARNING] Module 'core-js/modules/es.promise.js' used by 'node_modules/canvg/lib/index.es.js' is not ESM
CommonJS or AMD dependencies can cause optimization bailouts.
For more information see: https://angular.io/guide/build#configuring-commonjs-dependencies