I am currently working on a WordPress website and encountering two issues with loading bootstrap.js and ScrollOut.js: - Blocked resources due to MIME type mismatch
wp_enqueue_style('bootstrapjs', 'https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js', array(), '4.4.1', 'all');
wp_enqueue_style('scrolloutjs', 'https://unpkg.com/scroll-out/dist/scroll-out.min.js', array(), '2.2.8', 'all');
All other JavaScript files, such as fancybox and my custom JavaScript, are loading without any problems.
Could you please provide some guidance on how I can resolve this issue?
Thank you in advance