PCF being too heavy in order to upload

Sending
User Review
0 (0 votes)

I 'm working with custom components from component framework and whenever I try to upload the file into CRM it says it's to heavy. I checked and it takes 7MB which is crazy since it shouldn't. I'm using FluentUI and I checked my imports to see if there is anything importing something too big but it doesn't look like it.
Anyone could recommend me something that maybe I can found useful in order to check the file size? I tried using source-map and source-map-explorer but I had an error everytime (the command during build wouldn't generate a json or similar errors). Hope I was able to express my self correctly. Thank you in advance.

submitted by /u/WildWestCS
[link] [comments]