const fs = require('fs');
const content = fs.readFileSync('dist/assets/index-D9sWWWv_.js', 'utf8');

const search = "custom_profiles";
const idx = content.indexOf(search);
if (idx !== -1) {
  // Let's print 10000 characters before
  console.log(content.substring(idx - 10000, idx));
}
