diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-03-18 14:05:41 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-18 14:05:41 +0100 |
| commit | e10c1688f96e3b2d202fe401472b7b25f6105969 (patch) | |
| tree | 741b2ca1f5638427b0da833e157a8f5991689aec /docs/ref | |
| parent | 2ffa815c734e12262a3cb8ce5664f297128ae47f (diff) | |
Fixed #34322 -- Made ES module support to ManifestStaticFilesStorage optional.
Co-authored-by: Author: Claude Paroz <claude@2xlibre.net>
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/contrib/staticfiles.txt | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/docs/ref/contrib/staticfiles.txt b/docs/ref/contrib/staticfiles.txt index 1b5c4b6abc..d446f833ea 100644 --- a/docs/ref/contrib/staticfiles.txt +++ b/docs/ref/contrib/staticfiles.txt @@ -300,6 +300,11 @@ method). The regular expressions used to find those paths * The `@import`_ rule and `url()`_ statement of `Cascading Style Sheets`_. * `Source map`_ comments in CSS and JavaScript files. + +Subclass ``ManifestStaticFilesStorage`` and set the +``support_js_module_import_aggregation`` attribute to ``True``, if you want to +use the experimental regular expressions to cover: + * The `modules import`_ in JavaScript. * The `modules aggregation`_ in JavaScript. @@ -342,8 +347,8 @@ argument. For example:: .. versionchanged:: 4.2 - Support for finding paths to JavaScript modules in ``import`` and - ``export`` statements was added. + Experimental optional support for finding paths to JavaScript modules in + ``import`` and ``export`` statements was added. .. attribute:: storage.ManifestStaticFilesStorage.manifest_hash |
