Add reference to webpack.Compilation to generate #216
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
For one of my projects I'm looking for a "manifest generator" which also adds the integrity of each asset. I've tried many of the available plugins, but none of them really seemed to be doing to job 100% correctly.
Compared to the other available plugins I really like the quality and extendibility of this one. Especially the
generate
option is very useful and promising.In order to create the manifest I'm looking for I need some sort of reference to the Webpack compilation object, preferably from within the
generate
option. Unfortunately this isn't yet available, hence this PR.Additionally I've also gone my way and added an example to help others solve the same problem. I've noticed there are quite some issues and topics around that try to cover this problem.
This would also close #137