Forum Discussion
Gaurav Goyal
Jul 16, 2020Brass Contributor
Refused to execute script from 'myfiles.bundle.js.gz' in SharePoint Online Master page
I have created a bundle file with 'compression-webpack-plugin'. But when I am trying to use in SharePoint online master page, it is throwing an error :
'Refused to execute script from 'myfiles.bundle.js.gz' because its MIME type ('application/x-gzip') is not executable, and strict MIME type checking is enabled.'
How can I use .gz file in SharePoint Online Master page?
Thanks,
Gaurav Goyal
No RepliesBe the first to reply