Merge pull request #4815 from foarsitter/webpack_deprecated_loader

Fix deprecation warning about renaming of `webpack_loader.loader` to `webpack_loader.loaders`
This commit is contained in:
Jelmer 2024-01-29 10:30:40 +01:00 committed by GitHub
commit 5083f866d7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -37,7 +37,7 @@ MEDIA_URL = "http://media.testserver"
{%- if cookiecutter.frontend_pipeline == 'Webpack' %}
# django-webpack-loader
# ------------------------------------------------------------------------------
WEBPACK_LOADER["DEFAULT"]["LOADER_CLASS"] = "webpack_loader.loader.FakeWebpackLoader" # noqa: F405
WEBPACK_LOADER["DEFAULT"]["LOADER_CLASS"] = "webpack_loader.loaders.FakeWebpackLoader" # noqa: F405
{%- endif %}
# Your stuff...