I'm no hugo expert, but that's likely possible. After all, the JS files are static content. You can probably modify the theme's template to load the js from the origin.
I guess the whole point of using cloudflare as the cdn is so that people can reuse this from cache.
That's an interesting trade-off. I guess static sites are small enough that downloading an extra script wouldn't be terrible, by modern heavyweight website standards. Still, maybe I should look into what cloudflare CDN actually does with its data.
I guess the whole point of using cloudflare as the cdn is so that people can reuse this from cache.