Domain mapping breaks some plugin scripts and css

The solution, adding this to my wp-config.php:

define( ‘PLUGINDIR’, ‘wp-app-content/plugins’ );

https://wordpress.org/support/topic/domain-mapping-breaks-some-plugin-scripts-and-css