[Koha-bugs] [Bug 27651] Warning of missing Bootstrap source map

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Feb 8 14:19:07 CET 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27651

--- Comment #2 from Andrew Isherwood <andrew.isherwood at ptfs-europe.com> ---
I'd add another option to that:

4. Build our own minified JavaScript files for Bootstrap and pass build options
to not generate (and thus, not reference) source maps.

The only reason the error is being generated is that the Bootstrap we're using
has been built with source maps enabled and the path (as you mentioned, in the
comment in the JS file) to the map in question is wrong, the file is there,
it's just not accessible. It's a good job it's not accessible because it's 309K
in size.

As far as I can see, Bootstrap is the only library we're using that has been
built with source maps.

Anyway, as you say, it's not an issue, it's more of an annoyance to anyone who
happens to be looking at the dev tools. So whether it's worth the effort of
fixing is, IMHO, highly questionable!

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list