SPfx hosting assets on local server vs SharePoint deployment vs office 365 CDN vs SharePoint Site Assets vs Azure CDN explanation steps
How deploy spfx solutions in Office CDN or Azure CDN Local Hosting created a folder c:\A\SPFX\DeployOffice365CDNAzureCDN> create a subfolder DeployOffice365CDNAzureCDN\HostingThroughLocalServerDemo> in code, if you observe package-solution.json, includeClientSideAssets: true by default. It means, all our css,js files are part of the package that gets created as sppkg file. gulp build gulp bundle using this we are bundling or minifying our javascript files. as soon as bundling happens, a new folder has created which named as temp. observe in folder structure. temp folder contains manifest ts file and json file. Next step is we are doing package the solution using gulp package-solution We should be getting a new folder called sharepoint. it contains solution folder, inside sppkg file. It contains one debug folder, which has all the raw files of sppkg file. In order to test our webpart, we have gulp serve. which is test the webpart in our local server. now we can observe the gu...