Deployment and Updating SPFx Web Parts or Extensions

Highlighted
Contributor

I apologize if this has been asked before, but if deploying an update to a SharePoint Framework package (either web parts or extension) deployed to a tenant App Catalog, does the package always need to be redeployed to the App Catalog or is it possible to just update the files in the CDN location?

 

thanks!

3 Replies
Highlighted
IMHO, you have to update the full package
Highlighted
Thanks! Yes, I have since noticed that one of the js files is updated on every build.
Highlighted

I had the same question.. Unfortunately, it seems that you have to update both the CDN files and the app package.

One thing I noticed, though, is that as you keep building your solution, new files are generated instead of updating the old ones. I used to upload all of the files in the temp/deploy folder to my CDN, but then I figured you only need to copy the most updated ones, which makes sense.