You won't be able to hide the JS files from the developer tools for those that can access the page/Webapp. If your goal is to prevent someone from opening the dev tools or clicking view source if they have access to the app, that won't be possible, as Lex Li also highlighted.
The best you can typically do is to minify the code and not ship source maps to make it harder to read.
Alternatively, to ensure that only authenticated users can access your JS files, you might consider employing a web server that exclusively delivers these files to authenticated users. This is in contrast to just using Azure Blob + CDN as is typical for the hosted JS of web applications.
If the answer helped (pointed, you in the right direction) > please click Accept Answer