Table of Contents
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.