How to setup CDN for Express js site?

Hi, I have been working on a site to bring it into CDN but have a problem in it. The weight of express js file is huge and it becomes more difficult to bring it into CDN as it requires more space. What are the possible ways to set up CDN for a ejs site? The site is built with express js for front end and node js for backend.

Anyone out there let me know about it?