question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Request updates for webpack 5

See original GitHub issue

As 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:

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:12 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
vapiercommented, Oct 24, 2020

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 😕.

1reaction
xinaesthetecommented, Nov 24, 2020

@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 😉).

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found