Webpack 5 Deprecation Warning: SingleEntryPlugin was renamed to EntryPlugin
See original GitHub issueI am getting this warning since using webpack 5
Library Affected:
- workbox-webpack-plugin version 5.1.4
How to reproduce:
- webpack 5.4.0
- webpack-cli 4.2.0
NODE_OPTIONS='--trace-warnings' webpack --config webpack.config.js
Output:
(node:4157) [DEP_WEBPACK_SINGLE_ENTRY_PLUGIN] DeprecationWarning: SingleEntryPlugin was renamed to EntryPlugin
at get SingleEntryPlugin (/home/vito/Development/MyProject/node_modules/webpack/lib/index.js:246:4)
at Function.SingleEntryPlugin (/home/vito/Development/MyProject/node_modules/webpack/lib/util/memorize.js:22:13)
at Object.<anonymous> (/home/vito/Development/MyProject/node_modules/workbox-webpack-plugin/build/inject-manifest.js:15:3)
at Module._compile (/home/vito/Development/MyProject/node_modules/webpack-cli/node_modules/v8-compile-cache/v8-compile-cache.js:192:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (/home/vito/Development/MyProject/node_modules/webpack-cli/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
at Object.<anonymous> (/home/vito/Development/MyProject/node_modules/workbox-webpack-plugin/build/index.js:12:24)
at Module._compile (/home/vito/Development/MyProject/node_modules/webpack-cli/node_modules/v8-compile-cache/v8-compile-cache.js:192:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (/home/vito/Development/MyProject/node_modules/webpack-cli/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
Issue Analytics
- State:
- Created 3 years ago
- Reactions:6
- Comments:6 (2 by maintainers)
Top Results From Across the Web
singleentryplugin was renamed to entryplugin ...
webpack 4 is using a new plugin system and deprecates the previous APIs. ... Webpack 5 Deprecation Warning: SingleEntryPlugin was renamed to EntryPlugin....
Read more >webpack
(node:32539) [DEP_WEBPACK_SINGLE_ENTRY_PLUGIN] DeprecationWarning: SingleEntryPlugin was renamed to EntryPlugin (Use node ...
Read more >Webpack 5 and XDN - Layer0 Q&A
node:75752) [DEP_WEBPACK_SINGLE_ENTRY_PLUGIN] DeprecationWarning: SingleEntryPlugin was renamed to EntryPlugin info - Creating an optimized ...
Read more >Webpack 5 release (2020-10-10)
Syntax deprecated. require.include has been deprecated and will emit a warning by default when used. Behavior can be changed with Rule ...
Read more >Top 5 Changes in webpack v5
Well, version 5 of webpack with some surprising changes. From deprecated features to new configuration options, you'll want to prepare your ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Please update to
workbox-webpack-plugin
v6.0.0-alpha.3, and let us know how it works for you.That’s the version that introduced
webpack
v5.x support.Learn more at https://github.com/GoogleChrome/workbox/releases/tag/v6.0.0-alpha.3
Same problem here!