Posted 14 January 2021, 9:25 am EST - Updated 3 October 2022, 5:47 am EST
Using the ES2015 version of the Wijmo packages will produce smaller bundles that when using ES5. I am trying to achieve this in Angular, but without success.
In my Angular CLI 11 project I am using webpack-bundle-analyzer to inspect the build. It shows that the @angular package are ES2015 as expected (see attached image). But the @grapecity packages are the ES5 versions. So the compiler knows that it should prefer ES2015 packages, but somehow still selects the ES5 Wijmo packages.
Why is this so, and what can I do to ensure the build uses the ES2105 Wijmo packages?