I have upgraded my SharePoint Framework Packages to the latest. In WebPart solution updated cdnBasePath (write-manifest.json) to a SharePoint library path. After I ran the command "gulp build --ship" the internalModuleBaseUrls is updated to the bundled JS file in the deploy folder. After ran the "gulp Package-Solution" and it generated "<>.sppkg" file, if I see the internalModuleBaseUrls in the Package web part XML (Webpart_<>.xml) file still referring "localhost:4321" path. Hence, the WebPart is unable to render on SharePoint pages as the resources files trying to downloading from the localhost.
As per my observation the SPFx new build updated the the build module packages in the packages.json
I am thinking this might be causing issue.
Is anyone come across this issue? Can you please help. Thanks in advance.