I'm currently developing a Client Side Web Part which is deployed automatically to a Office 365 CDN which is defined in the "write-manifest.json".
This works quite fine but in the long term I plan to use different environments with at least "Integration", "Quality Assurance" and "Production".
So I need at least three different "cdnBasePath" values which will be set (dynamically?) when the project is being packaged and bundled.
I have something like this in my mind:
- gulp package-solution --integration
- gulp bundle --integration
- gulp upload-to-sharepoint --integration
- and so on
Are there any best practices on how to handle such requirements?