Example:
{{{
//** @type {import("./htmx").HtmxApi} */
}}}
Leads to:
{{{
whitenoise.storage.MissingFileError: The file 'example/dist/htmx' could
not be found with <whitenoise.storage.CompressedManifestStaticFilesStorage
object at 0x16ff630a0>.
The JS file 'example/dist/app.js' references a file which could not be
found:
example/dist/htmx
Please check the URL references in this JS file, particularly any
relative paths which might be pointing to the wrong location.
}}}
The regex should be adjusted to only select imports that are alone on a
line, with whitespace.
--
Ticket URL: <https://code.djangoproject.com/ticket/34322>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* severity: Normal => Release blocker
* stage: Unreviewed => Accepted
Comment:
Grrr. OK. Sigh. Thanks for the report Adam. (I didn't run it, but I'm
going to trust you)
(Mariusz was right to be sceptical that this was going to be OK. . :)
Let's look at a fix here but:
> I think we need to be prepared to say where we're not going to try more
complex solutions.
> (https://code.djangoproject.com/ticket/32319#comment:21)
--
Ticket URL: <https://code.djangoproject.com/ticket/34322#comment:1>