#35371: False positive in JS module aggregation export regex when an export
declaration precedes an import declaration
-------------------------------------+-------------------------------------
Reporter: Michael | Owner: Calvin Vu
Type: Bug | Status: assigned
Component: contrib.staticfiles | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Calvin Vu):
An observation: the extra line you add at the beginning of {{{module.js}}}
doesn't even have to be a proper export, if you add even {{{//export}}}
before the imports then it raises the same ValueError
--
Ticket URL: <https://code.djangoproject.com/ticket/35371#comment:5>
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/01070192539d7181-68a958eb-1b86-4ee9-b984-87b596b0889f-000000%40eu-central-1.amazonses.com.