I can't find a solution to this problem. In laravel 5.2 all I needed was to install the npm package and then in app.js add this line:
window.EXIF = require('exif-js');
now in laravel 5.5 there's this new bootstrap.js file where you are supposed to put the same line. However doing so results in error:
Uncaught ReferenceError: EXIF is not defined
I tried to mix the exif.js directly and load it in the page I am using and also set a VAR EXIF = require('exif-js');
in the script but then I get the error: Uncaught ReferenceError: base64ToArrayBuffer is not defined
I am out of ideas. Nothing works.