1, Update package-solution.json with IncludeClientSideAssets as false
2, Update write-manifests.json with cdnBsePath as SharePoint document library or Azure Storage URL.
3, Build and bundle the WebPart gulp bundle –ship
4, Create the package for SharePoint App Catalog gulp package-solution –ship
5, Upload the files from the deploy to SharePoint document library.
6, Upload the .sppkg file from solution folder to SharePoint AppCatalog.