Thank you for your quick responses. When I added the relevant references to my csproj file as follows, the files were published.
<Content Include="Scripts\bootstrap.bundle.js" /> <Content Include="Scripts\bootstrap.bundle.min.js" />