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

前端 未结 2 1520
死守一世寂寞
死守一世寂寞 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:48

    you can download it and then place it at the same directory of bootstrap.css file

    https://github.com/twbs/bootstrap/blob/master/dist/css/bootstrap.css.map

    0 讨论(0)
  • 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.

    0 讨论(0)
提交回复
热议问题