I am developing a chrome extension that uses firebase in content script. Based on this answer I decided to store it locally in my /lib folder. Whether I download it with npm, bower or from gstatic, I always end up with binary files with chrome doesn't want to use as libraries ("Could not load file "some_filename.js" for content script. It isn't UTF-8 encoded.")
I tried converting it with iconv, Sublime, TextEdit, tried this and couple of others, nothing worked, file -I
always claims that file is binary.
Is there any other way I can obtain firebase.js file, or convert the existing binary files to utf-8?