what are the .map files used for in Bootstrap 4.0.0 . Do I need them?
Basically .map files are used in conjunction with css preprocessor like- Sass, Less. or Stylus. Because the CSS files are generated, editing the CSS files directly is not as helpful.
For pre processors that support CSS source maps, by inspecting element lets you live-edit your preprocessor source files in the Sources panel, and view the results without having to leave DevTools or refresh the page. When you inspect an element whose styles are provided by a generated CSS file, the Elements panel displays a link to the original source file, not the generated .css file. So basically you can say they (.map files) exist so that the debugger can display compiled CSS (via LESS, SASS, etc.) in a readable format
If you're not using a CSS preprocessor like Sass or LESS, you can just delete them.
Comments
Post a Comment