मुख्य सामग्री पर जाएँ
Skillpedia
डिप्लॉय और क्लाउड (DevOps)75k · #3029

source-maps

यह क्या करती है

यह स्किल जाँचती है कि प्रोजेक्ट का बिल्ड source maps बनाता है या नहीं, और क्या उन्हें प्रोडक्शन समस्याओं की डिबगिंग के लिए सुरक्षित तरीके से संभाला जाता है। यह उन डेवलपर्स के लिए है जो बिना अपना कोड उजागर किए लाइव एरर का पता लगाना चाहते हैं।

कब इस्तेमाल करें

  • ✓जब आप एजेंट से लाइव साइट पर होने वाली एरर की डिबगिंग सेट करवाएँ।
  • ✓जब प्रोडक्शन एरर ऐसे minified कोड की ओर इशारा करें जो पढ़ना मुश्किल हो।
  • ✓जब आप अपना ऐप एरर ट्रैकिंग सेवा से जोड़ें और चाहें कि source maps उसमें अपलोड हों।

Skill का लिंक

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/source-maps/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/source-maps/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मेरी लाइव साइट की एरर में minified कोड दिखता है जो मैं पढ़ नहीं सकता। क्या आप source maps सेट कर सकते हैं ताकि मैं उन्हें डिबग कर सकूँ?”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

एजेंट source maps बनाने के लिए बिल्ड सेटिंग अपडेट करता है और जाँचता है कि उन्हें कैसे संभाला जाता है। स्किल सुझाती है कि उन्हें सार्वजनिक रूप से परोसने के बजाय किसी एरर ट्रैकिंग सेवा पर अपलोड करें।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Provide source maps for production debugging

Source maps are essential for debugging production issues effectively without compromising the performance benefits of minification.

Quick Reference

  • Generate source maps to map minified code back to original source
  • Upload source maps to error tracking services (e.g., Sentry) instead of serving them publicly
  • Ensure source maps are correctly linked in your build process

Check

Verify if the project's build process generates source maps and if they are being correctly handled for production debugging.

Fix

Update the build configuration to generate source maps and integrate with an error tracking service for secure production debugging.

Explain

Explain how source maps enable developers to debug original source code when only minified code is running in the browser.

Code Review

Review the routes, assets, and loading behavior that affect Provide source maps for production debugging. Flag exact files, requests, or rendering steps that add unnecessary network, CPU, or layout cost, and describe the measurement method used to confirm the issue.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/rules/performance/source-maps

अक्सर पूछे जाने वाले सवाल

source map क्या है?

यह एक फ़ाइल है जो minified कोड को मूल सोर्स से जोड़ती है, ताकि एरर उपयोगी रूप में पढ़ी जा सकें।

क्या source maps सार्वजनिक होने चाहिए?

स्किल सुझाती है कि उन्हें सार्वजनिक रूप से परोसने के बजाय एरर ट्रैकिंग सेवा पर अपलोड करें।

क्या source maps साइट को धीमा करते हैं?

स्किल कहती है कि वे minification के फ़ायदे खोए बिना बनाए जा सकते हैं, क्योंकि उनका इस्तेमाल डिबगिंग के लिए होता है।

जानकारी

लेखक का मूल विवरण

Use when auditing slow page loads, heavy assets, or rendering delays related to Provide source maps for production debugging. Verify the actual bottleneck in DevTools, Lighthouse, or field data before recommending changes.

repo: thedaviddias/Front-End-Checklist

लोकप्रियता

GitHub स्टार
75k
रैंकिंग में स्थान
#3029
लाइसेंस
MIT
अपडेट की गई
31/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

मिलती-जुलती skills