#33353: Can't collect static files if don't have vendor's JavaScript source map
files
-------------------------------------+-------------------------------------
Reporter: Michael | Owner: nobody
Type: Bug | Status: closed
Component: contrib.staticfiles | Version: 4.0
Severity: Release blocker | Resolution: invalid
Keywords: manifeststatic | Triage Stage:
storage | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Adam Johnson):
I agree with Mariusz. From Django's perspective, it's the same as having a
CSS file that references a missing font. Both are missing references and
potentially a mistake! Even if you left the source map line in, the
browser devtools will request it and hit a 404, and show you an error.
If you don't want the source map, delete the source map reference from the
vendored file.
However its very likely that one does not have this source map files
for the vendor libraries (probably only the vendor uses them).
This is just a difference in approach/opinion. I use source maps
everywhere and I know many developers do too.
--
Ticket URL: <https://code.djangoproject.com/ticket/33353#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/068.6b7d4cbbc022d27f199edc14cc4ffbd7%40djangoproject.com.