We move our solution to .NET Core and Angular (AbpZero 7.1.0).
When I compile in production the build process create a main.js more the 5 Mb.
Is it possibile to reduce it? How can I check if I've some configuration error?
Regards
5 Answer(s)
-
0
-
0
-
0
Hi @andmattia,
You can use https://www.npmjs.com/package/webpack-bundle-analyzer to check which packages are taking up more space.
We will also work on this but moment and moment timezone are the ones we can't get rid of.
-
0
Hi @ismcagdas
I kno very well that momen!
I check on stats and I see that I've Tlerik, moment and Angular that consume, more or less the 75% of space, so I don't find a specific problem. If I remove Terlik I can reduce the size about 1 Mb. I'm waitng if you find any tricks to reduce it.
-
0
I have created an issue to work on this https://github.com/aspnetzero/aspnet-zero-core/issues/3447.