Source map error

Having trouble installing Oxygen? Got a bug to report? Post it all here.
pault
Posts: 70
Joined: Thu Mar 21, 2013 12:55 am

Source map error

Post by pault »

In the Firefox console, I get the following error when building from WebHelp Responsive, even when using an unaltered DITA Map WebHelp Responsive scenario:

Source map error: TypeError: NetworkError when attempting to fetch resource.
Resource URL: file:///Users/pault/github/dse-docs/out/webhelp-responsive/oxygen-webhelp/lib/bootstrap/css/bootstrap.min.css
Source Map URL: bootstrap.min.css.map

I'm building from MacOS Mojave 10.14.6.

Firefox seems to load the CSS but I thought I'd check.
bogdan_cercelaru
Posts: 222
Joined: Tue Jul 01, 2014 11:48 am

Re: Source map error

Post by bogdan_cercelaru »

Hello,

.map files allow a browser to download a full version of the minified CSS. It is really for debugging purposes.
In effect, the .map missing isn't a problem. You only know it is missing, as the browser has had its Developer tools opened, detected a minified file and is just informing you that the CSS debugging won't be as good as it could be.
In Firefox, you could press F1 in the Developer Tools and uncheck the "Enable Source Maps" in the "Advanced settings" section to prevent this warning.

Regards,
Bogdan
Bogdan Cercelaru
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Post Reply