I am new to both SPFx web-parts and the O365 CDN. My question stems from my newness in both areas. I have managed to enable the CDN in my tenant and define a couple of Origins. My understanding is these origins are locations that are universal to all sites (for example every site has a "Site Assets" library so I made that an Origin). Any image, script file, etc. in any of the sites' Site Assets library will be cached in the CDN. I think I have that down but please correct me if I am wrong.
My problem is this: Prior to building, bundling, and packaging a spfx solution you often have to update your
cdnBasePath in the APP's write-manifest.json.
I do not understand how to define this path. Is this a reference to a specific site's Site Assets library or do I have to format the URL in some way that references the CDN that is not specific to any one site?
Am I supposed to use a wildcard and reference one of the origins I have defined?
Thank you everyone. I am eager to understand and I thank you for your willingness to contribute.