Closed shlomiassaf closed 6 years ago
Thanks.
We have a workable fix for this on the next branch, but I think I like your fix better.
When are you going to deploy this fix for webpack v4?
+1, is there a release date on schedule yet?
is webpack 4 support ready?
Our fixes for webpack 4 breaks support with older versions of webpack entirely. Instead of using your suggestion, we're throwing an error on versions not supporting hooks (webpack < 4).
In https://github.com/oliviertassinari/serviceworker-webpack-plugin/blob/master/src/index.js#L171-L173
With the new webpack, using this expression:
Will throw:
This should be change based on the version of webpack.