rykener / django-manifest-loader

Simplifies webpack configuration with Django
https://django-manifest-loader.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
104 stars 12 forks source link

django-manifest-loader and whitenoise #50

Open FranciscoKloganB opened 3 years ago

FranciscoKloganB commented 3 years ago

Hello developers;

I already have django-manifest-loader working on my project, but today I started to set up Whitenoise; And I am wondering if there is any wierd interaction between the two packages?

My current flow is:

Set STATICFILES_STORAGE = "django.contrib.staticfiles.storage.ManifestStaticFilesStorage" (default) such that neither Django nor Whitenoise perform any sort of work on my static assets (Webpack does that for me);

Now, my problem arises from here onwards.

MANIFEST_LOADER = {
    'output_dir': None,
    'manifest_file': 'manifest.json',
    'cache': env("SERVICE_ENV", default="dev") == "prd",
    'loader': DefaultLoader
}
devo-wm commented 2 years ago

@FranciscoKloganB -

What'd you discover integration django-manifest-loader with whitenoise?