(async () => { try { const { sheet: { cssRules }, } = document.getElementById('react-native-stylesheet'); const cssText = Array.from(cssRules) .map(({ cssText }) => cssText) .filter(Boolean) .join('\n\n'); console.log('--- Plain CSS Output ---'); console.log(cssText); console.log('--- End Output ---'); return cssText; } catch (e) { console.error('Error:', e); } })();