What is the purpose of the source maps?

Can someone explain what source maps are? Because, as I see it, my concatenated and thumbnail file is loading (we are talking about JavaScript), as well as more than 100 modules. How does this not affect download performance twice as much as before?

+4
source share
3 answers

Since you load the source map only when you open the debugger.

Actual users who do not open the debugger still benefit from minimization.

+4
source

, Javascript ( ), , . , .

, - TypeScript ES6 ES5 Javascript, , , .

, JS, , , , , -.

, Chrome. , , , , , .

+2

- . , -, .

, , . , : ( )

+1

Source: https://habr.com/ru/post/1606506/


All Articles