const fs = require('fs') const s = fs.readFileSync( require('path').join(__dirname, '../dist/pages/social/sub-vendors.wxss'), 'utf8', ) function dumpAround(needle, pad = 300) { let from = 0 let n = 0 while (n < 4) { const i = s.indexOf(needle, from) if (i < 0) break console.log('\n====', needle, '@', i, '====') console.log(s.slice(i, i + pad)) from = i + needle.length n += 1 } } ;[ '.connection-ways{', '.connection-way{', '.social-home .connection-ways{', '.social-home .connection-copy, .social-home .connection-universe{', '.footer-grid{', '.footer-links{', 'opacity: 0', 'connection-rise', ].forEach((n) => dumpAround(n, 280))