Bootstrap source map missing

Bootstrap source map missing

Description

When open web developement tools in web browser, followning error could appear.

Source map error: request failed with status 404
Resource URL: https://domainname.com/.../bootstrap.css?ver=4.4.1
Source Map URL: bootstrap.css.map

Fixes

Method 1

This file can be download from bootstrap web page Bootstrap v4.4.1, and put it into same folder as bootstrap.css.

Method 2

Remove comments like /# sourceMappingURL=bootstrap.min.css.map / in bootstrap.min.css, bootstrap.min.js.

Reason

Source map files are generated automatically during files minification/compiling process, and they are not needed for the production.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>


The reCAPTCHA verification period has expired. Please reload the page.