
You will find a great video from a PnP Community call performed by Vincent Biret on Youtube sppkg this solution is much lighter than pnpm because all or part of the npm modules are loaded directly from a CDN. externalize: like pnpm, this solution allows you to generate a lighter package than just simply builds it and compresses all files in the same container.If you do not want your SPFx package to take too much space, this solution will allow you to decrease drastically the number of files and the size of your SharePoint solution package

pnpm: I chose this one in the first place because I am using it as often as possible and it works very well.I will not let you just with this information, I will also give you some additional tips that can be useful for your developments:
