I'm not sure about the wp-includes
but you can quite easily change the URL of your wp-content
folder by setting this constant in your wp-config.php
file:
define('WP_CONTENT_URL', 'https://mybucket.nyc3.cdn.digitaloceanspaces.com');
By default, the WP_CONTENT_URL
constant is set to the URL of the wp-content
directory of a WordPress installation. However, it can be customized to point to a different URL or domain, which can be useful in certain scenarios, such as when you want to serve your static content from a CDN or a subdomain.
https://developer.wordpress.org/apis/wp-config-php/#moving-wp-content-folder