-
-
Notifications
You must be signed in to change notification settings - Fork 109
feat: use emit event instead of this-compilation #45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Remove unneeded module.exports
Permit {path} and {query} in asset name
Add zopfli option
use [] instead of {} rename `regExp` to `test`
Update index.js
…_zopfli Update node-zopfli version
- Previous Copyright holder is Tobias, this was transferred with the initial group to JSF
…-JSFMaintainers docs(readme): updates for JSF maintainers
…-JSFLicense chore(license): update to JSF standard license
Given that compression is most likely one of the last steps on the pipeline chain, it makes sense that this plugin uses the `emit` event which is the last step to add/modify assets before they're written to disk. This plays nicely with other plugins that create and delete files on the fly AFTER they're compiled (for example https://github.com/jtefera/merge-files-webpack, which is the recommeded solution for this issue webpack-contrib/extract-text-webpack-plugin#179)
Jason Palmer seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. |
Hi, That's exactly what I was looking for, I've the same issue. |
Given that #26 will require a Defaults will have to come first to get the testing framework in place & both #45 & #26 will then need to be accompanied by tests before they land. I'll handle the defaults upgrade this evening. |
+1 I'm looking for this support as well! |
Can we resolve this? What more needs to be done here? |
Thanks for this awesome plugin, I am looking for this feature. |
This feature is totally required. |
Is there some workaround until it is resolved? |
@michael-ciniawsky what needs to be done to get this merged? |
A rebase :) but according to the CLA Bot there a commits from others which didn't sign the CLA and therefore commit authors would need to by changed via git. The usage of |
Replaced by #71 |
Given that compression is most likely one of the last steps on the pipeline chain, it makes sense that this plugin uses the
emit
event which is the last step to add/modify assets before they're written to disk.This plays nicely with other plugins that create and delete files on the fly AFTER they're compiled (for example https://github.com/jtefera/merge-files-webpack, which is the recommended solution for this issue webpack-contrib/extract-text-webpack-plugin#179)