Re: [Pkg-javascript-devel] Bug#922824: sourceMappingURL in minified js seems to point to the wrong location

2019-02-21 Thread Jonas Smedegaard
Quoting Enrico Zini (2019-02-21 13:18:52) > On Thu, Feb 21, 2019 at 11:05:00AM +0100, Jonas Smedegaard wrote: > > > Using source-maps for browsing into sources requires somehow serving > > those source files, and hinting e.g. with the "SourceMap" http > > header where they are located. > > > >

Re: [Pkg-javascript-devel] Bug#922824: sourceMappingURL in minified js seems to point to the wrong location

2019-02-21 Thread Paolo Greppi
Hi Enrico, On 21/02/19 09:31, Enrico Zini wrote: ... If I make one of those paths accessible on the web and include bootstrap with something like: Then I see the browser make this failed request on my HTTP server: 404 GET /static/bootstrap4/js/dist/js/bootstrap.js.map ... it works fo

[Pkg-javascript-devel] Bug#922824: sourceMappingURL in minified js seems to point to the wrong location

2019-02-21 Thread Enrico Zini
Package: libjs-bootstrap4 Version: 4.2.1+dfsg2-2 Severity: normal Hello, Thank you for packaging bootstrap. The minified bootstrap4 javascript file is currently distributed in these two paths: /usr/lib/nodejs/bootstrap/dist/js/bootstrap.min.js /usr/share/javascript/bootstrap4/js/bootstrap.m