简体   繁体   中英

How to put .map file in HTML document?

I want to put some Bootstrap code in website, I found some scripts, in file there are files with .map extension. I don't know how to upload them in HTML document. We connect CSS file from HTML file with following tag:

<link rel="stylesheet" type="text/css" href="/wp-content/themes/heatmap-adaptive.1.5.3/style.css"/>

and so, how can do some job with .map?

There are files with such names: bootstrap-theme.min.css.map

Those are source map files, they are used for debugging the CSS code after it has been minified. The browser reads them automatically if the source maps feature has been enabled in its dev tools and they are available in the same directory as the minified CSS file they point to.

So the answer is: you don't put them in the document.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM