1// stagewise-dev.js - ê°ë° 모ëììë§ ì¤íëë stagewise í´ë° íµí© 2(function() { 3 // ê°ë° 모ëì¸ì§ íì¸ (localhost ëë 127.0.0.1ìì ì¤í ì¤ì¸ì§ íì¸) 4 const isLocalhost = window.location.hostname === 'localhost' || 5 window.location.hostname === '127.0.0.1' || 6 window.location.hostname.includes('.local'); 7 8 // NODE_ENVê° ì¤ì ëì´ ìì§ ìì ê²½ì° localhostë¡ íë¨ 9 const isDevMode = isLocalhost; 10 11 if (isDevMode) { 12 // ê²½ë¡ ì¤ì (CDN ëë ë¡ì»¬ ë ¸ë 모ë) 13 const modulePath = 'https://cdn.jsdelivr.net/npm/@stagewise/toolbar/dist/index.js'; 14 15 // stagewise í´ë° ë¡ë 16 import(modulePath) 17 .then(module => { 18 const { initToolbar } = module; 19 20 // stagewise ì´ê¸°í 21 initToolbar({ 22 plugins: [], // íìí ê²½ì° íë¬ê·¸ì¸ ì¶ê° 23 }); 24 25 console.log('â Stagewise toolbar initialized in dev mode'); 26 }) 27 .catch(err => { 28 console.error('Failed to initialize Stagewise toolbar:', err); 29 }); 30 } 31})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.