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

Manifest output grouped by entry #19

Closed knokit closed 3 years ago

knokit commented 3 years ago

WebpackManifestPlugin allows using a custom generate function, which could be used to generate a manifest with the following structure:

{ "entryName": [ "runtime.js", "vendor.js", "entry.js"] }

With this structure it would be possible to get all files required to render a given entry and maybe it could also be used to determine the order by which the files should be imported (related to #3).

Possibly related to #14?

rykener commented 3 years ago

Thanks for the second report @knokit. Yes, one of my intentions behind #14 would be to allow structures like this. I will make sure this type of structure is possible when finishing up that PR

knokit commented 3 years ago

Great! Thanks a lot for your work, @shonin!