Request updates for webpack 5
See original GitHub issueAs webpack 5 released, some of its dependents released updates.
npm view webpack-cli peerDependencies
{ webpack: '4.x.x || 5.x.x' }
npm view webpack-dev-server peerDependencies
{ webpack: '^4.0.0 || ^5.0.0' }
@purtuga/esm-webpack-plugin
is not currently compatible with webpack
5 although it declares to be
npm view @purtuga/esm-webpack-plugin peerDependencies
{ webpack: '>= 4.0.0' }
In @purtuga\esm-webpack-plugin\esm-webpack-plugin.js
Error: Cannot find module ‘webpack/lib/MultiModule’
Additional Information:
- @purtuga/esm-webpack-plugin 1.4.0
- webpack 5.1.0
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:12 (4 by maintainers)
Top Results From Across the Web
To v5 from v4 - webpack
Upgrade webpack 4 and its plugins/loaders · Make sure your build has no errors or warnings · Make sure to use mode ·...
Read more >Upgrading Webpack 4 → 5 | Square Corner Blog
Webpack 5 Gains · Decreased bundle size by 27-28% · Decreased build time by 10% (2m 54s → 2m 36s) · Cached dev...
Read more >How to Upgrade to React 17 and Webpack 5 Step by Step
How to Upgrade to React 17 and Webpack 5 Step by Step · 1. CRACO · 2. Eject · 3. Dynamic Module Federation...
Read more >Upgrade from Webpack 4 to Webpack 5 | by Ognjen Stefanović
Step 1: Updating webpack · Step 2: Updating additional plugins · Step 3: Changing webpack configuration · Step 4: Persistent caching · 5...
Read more >Upgrade to Webpack 5 failing - node.js - Stack Overflow
0.0 no longer allows custom properties in configuration. Loaders should be updated to allow passing options via loader options in module.rules.
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
ftr, esm library output is not in webpack 5 (including the current 5.2.0 release). see https://github.com/webpack/webpack/issues/2933.
hopefully it’ll happen at some point, but that point is not now 😕.
@portuga, no worries. I think your position is reasonable wrt Webpack 5, anyway. For now I seem to have found another way, but wouldn’t rule out maybe contributing a patch if I get a rush of blood to the head (don’t hold your breath 😉).