Opened 7 months ago

Closed 7 months ago

Last modified 5 months ago

#33446 closed New feature (fixed)

ManifestStaticFilesStorage doesn't update CSS source map references

Reported by: Adam Johnson Owned by: Adam Johnson
Component: contrib.staticfiles Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

A follow-up to #32383, which added JS source map support.

The source map spec also covers CSS source maps. I think Django should update these references too for the same reasons as JS source maps.

Change History (4)

comment:1 Changed 7 months ago by Mariusz Felisiak

Owner: changed from nobody to Adam Johnson
Status: newassigned
Triage Stage: UnreviewedAccepted

comment:2 Changed 7 months ago by Mariusz Felisiak

Has patch: set
Triage Stage: AcceptedReady for checkin

comment:3 Changed 7 months ago by Mariusz Felisiak <felisiak.mariusz@…>

Resolution: fixed
Status: assignedclosed

In dc8bb35:

Fixed #33446 -- Added CSS source map support to ManifestStaticFilesStorage.

comment:4 Changed 5 months ago by Mariusz Felisiak <felisiak.mariusz@…>

In b8113644:

Refs #33446 -- Allowed variable whitespace in CSS source map references.

Follow up to dc8bb35e39388d41b1f38b6c5d0181224e075f16.

The Webpack default is to output CSS source map comments like
/*# sourceMappingURL=main.css.map*/. Also, Chromium allows tabs.

Note: See TracTickets for help on using tickets.
Back to Top