Yes, itβs quite possible and good practice to publish a Minified script for your CDN. I regularly see both on different CDNs. This allows the developer to choose which version they need.
...then in views we access the minified version through CDN url?
Yes, you will get access to the mini version with the CDN URL.
source share