Closed chenxsan closed 4 years ago
There's a number of non-trivial changes that are needed for webpack v5 compatibility. (C.f. https://github.com/webpack/webpack/issues/11425)
I'm working on implemented all of those changes in the Workbox v6 branch, hopefully in time for the next Workbox pre-release.
great to hear! we just moved to webpack 5 and had to remove workbox since it was causing the build to error out.
the WP5 branch is looking really good! would love to give it a test drive for you!
This is now live as part of the v6.0.0-alpha.3 release: https://github.com/GoogleChrome/workbox/releases/tag/v6.0.0-alpha.3
Library Affected:
Browser & Platform:
None
Issue or Feature Request Description:
webpack 5 exposes
webpack-sources
viawebpack.sources
, and it's advised to use it instead ofrequire('webpack-sources')
, if you agree to do it, I can submit a pull request.