mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +00:00
Fixed #32319 -- Added ES module support to ManifestStaticFilesStorage.
This commit is contained in:
parent
781b44240a
commit
91e21836f6
8 changed files with 96 additions and 0 deletions
|
@ -295,6 +295,8 @@ method). The regular expressions used to find those paths
|
|||
|
||||
* The `@import`_ rule and `url()`_ statement of `Cascading Style Sheets`_.
|
||||
* The `source map`_ comment in JavaScript.
|
||||
* The `modules import`_ in JavaScript.
|
||||
* The `modules aggregation`_ in JavaScript.
|
||||
|
||||
For example, the ``'css/styles.css'`` file with this content:
|
||||
|
||||
|
@ -315,6 +317,9 @@ For example, the ``'css/styles.css'`` file with this content:
|
|||
|
||||
Support for finding paths in the source map comments was added.
|
||||
|
||||
Support for finding paths to JavaScript modules in ``import`` and
|
||||
``export`` statements was added.
|
||||
|
||||
.. attribute:: storage.ManifestStaticFilesStorage.max_post_process_passes
|
||||
|
||||
Since static files might reference other static files that need to have their
|
||||
|
@ -368,6 +373,8 @@ hashing algorithm.
|
|||
.. _`url()`: https://www.w3.org/TR/CSS2/syndata.html#uri
|
||||
.. _`Cascading Style Sheets`: https://www.w3.org/Style/CSS/
|
||||
.. _`source map`: https://developer.mozilla.org/en-US/docs/Tools/Debugger/How_to/Use_a_source_map
|
||||
.. _`modules import`: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules#importing_features_into_your_script
|
||||
.. _`modules aggregation`: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules#aggregating_modules
|
||||
|
||||
``ManifestFilesMixin``
|
||||
----------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue