#32319: Add support to HashedFilesMixin for ES modules -------------------------------------+------------------------------------- Reporter: gilmrjc | Owner: blighj Type: New feature | Status: closed Component: contrib.staticfiles | Version: dev Severity: Normal | Resolution: fixed Keywords: | Triage Stage: Ready for | checkin Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Comment (by Michael):
I was using my own regex, but removed it now that django support this natively. But I dont think Django's regex works with the following: {{{ import*as l from "/static/jsapp/jsapp/dtmod.min.js";import*as h from "/static/jsapp/jsapp/nummod.min.js";import*as m from "/static/leave/jsapp/fetcher.min.js";import {BaseComponent as g} from "/static/wcapp/jsapp/wc-base.min.425310100bce.js"; }}} As you can see only the 4th import was correctly altered, the first 3 werent even detected, (below is the same as above but placed the imports on seprate lines for readability): {{{ import*as l from "/static/jsapp/jsapp/dtmod.min.js"; import*as h from "/static/jsapp/jsapp/nummod.min.js"; import*as m from "/static/leave/jsapp/fetcher.min.js"; import {BaseComponent as g} from "/static/wcapp/jsapp/wc- base.min.425310100bce.js"; }}} -- Ticket URL: <https://code.djangoproject.com/ticket/32319#comment:23> 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 django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/0107018ed6c21512-7f11bec5-de1c-4db1-9e00-44874f695a05-000000%40eu-central-1.amazonses.com.