diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2021-11-05 12:11:18 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-05 12:11:18 +0100 |
| commit | ba9ced3e9a643a05bc521f0a2e6d02e3569de374 (patch) | |
| tree | daf7b91d0ac846078de40afba761b8e981a42f56 /docs | |
| parent | c6c6cd3c5ad9c36795bb120e521590424f034ae4 (diff) | |
Fixed #33253 -- Reverted "Fixed #32319 -- Added ES module support to ManifestStaticFilesStorage."
This reverts commit 91e21836f667c784a8a63ab1f18d81f553e679cb.
`export` and `import` directives have several syntax variants and not
all of them were properly covered.
Thanks Hervé Le Roy for the report.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/contrib/staticfiles.txt | 7 | ||||
| -rw-r--r-- | docs/releases/4.0.txt | 4 |
2 files changed, 0 insertions, 11 deletions
diff --git a/docs/ref/contrib/staticfiles.txt b/docs/ref/contrib/staticfiles.txt index 46a73e7c54..eb6703685b 100644 --- a/docs/ref/contrib/staticfiles.txt +++ b/docs/ref/contrib/staticfiles.txt @@ -295,8 +295,6 @@ 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: @@ -331,9 +329,6 @@ argument. For example:: 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. - The ``manifest_storage`` argument was added. .. attribute:: storage.ManifestStaticFilesStorage.max_post_process_passes @@ -389,8 +384,6 @@ 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`` ---------------------- diff --git a/docs/releases/4.0.txt b/docs/releases/4.0.txt index 7e6c4f62cc..e2d1c84a5f 100644 --- a/docs/releases/4.0.txt +++ b/docs/releases/4.0.txt @@ -217,10 +217,6 @@ Minor features replaces paths to JavaScript source map references with their hashed counterparts. -* :class:`~django.contrib.staticfiles.storage.ManifestStaticFilesStorage` now - replaces paths to JavaScript modules in ``import`` and ``export`` statements - with their hashed counterparts. - * The new ``manifest_storage`` argument of :class:`~django.contrib.staticfiles.storage.ManifestFilesMixin` and :class:`~django.contrib.staticfiles.storage.ManifestStaticFilesStorage` |
