Bootstrap 3.1.1 - What is the .map extension file used for?

前端 未结 2 1536
死守一世寂寞
死守一世寂寞 2020-12-05 18:11

I need to upgrade an application I\'m working on with the latest Bootstrap version but I\'m struggling to figure out what an addition of bootstrap.css.map is fo

2条回答
  •  天涯浪人
    2020-12-05 18:56

    It is source map for Firefox and Chrome debuggers.

    http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/

    Because the source code is minified/bundled the line numbers do not refer to the orignal files. Source map protocol fixes this, allowing the web debuggers to refer to the original context from where the CSS was generated.

提交回复
热议问题