-
-
Notifications
You must be signed in to change notification settings - Fork 291
Closed
Description
Webpack 4.26.0 switched from using uglifyjs-webpack-plugin to terser-webpack-plugin. Since OfflinePlugin seems to partly piggyback off webpack's minifier but also contains uglifyjs-specific code this is now throwing up the following error:
OfflinePlugin: uglifyjs-webpack-plugin is required to preform a minification
Messed around a little bit myself but adding terser support while maintaining uglifyjs support for < webpack@4.26.0 involves a bit more than updating the import, unfortunately.
Those running into this issue can meanwhile explicitly add uglifyjs-webpack-plugin to the dev dependencies until this is resolved.
Benno007 and Bobgy