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.min.js and they come with a sourceMappingURL of: //# sourceMappingURL=dist/js/bootstrap.js.map If I make one of those paths accessible on the web and include bootstrap with something like: <script src="{{static_url('bootstrap4/js/bootstrap.min.js')}}"></script> Then I see the browser make this failed request on my HTTP server: 404 GET /static/bootstrap4/js/dist/js/bootstrap.js.map I tried to look up how sourceMappingURL works: https://stackoverflow.com/questions/38427991/which-is-the-base-url-of-sourcemappingurl-relative-from-html-or-js and it looks to me like bootstrap.min.js should contain something like "sourceMappingURL=bootstrap.js.map" to have it being found alongside the .min.js version. Enrico -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 4.19.0-1-amd64 (SMP w/4 CPU cores) Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8), LANGUAGE=en_IE:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages libjs-bootstrap4 depends on: ii libjs-popper.js 1.14.6+ds2-1 libjs-bootstrap4 recommends no packages. libjs-bootstrap4 suggests no packages. -- no debconf information -- Pkg-javascript-devel mailing list Pkg-javascript-devel@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel