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.

webpack 5 support

See original GitHub issue

trying webpack 5 alpha, getting Module not found for astroturf virtual files. probably something has changed in the way we should insert virtual modules into the compilation?

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:14 (11 by maintainers)

github_iconTop GitHub Comments

3reactions
jquensecommented, Sep 15, 2020

I’ve been working on this, and it’s a good bit more complicated than i would have hoped 😕

1reaction
IAParkcommented, Sep 15, 2020

If it helps, I think I get a different error when I try to upgrade to the now beta:

  Module build failed (from ./node_modules/astroturf/loader.js):
  TypeError: Cannot read property 'set' of undefined
    at styles.forEach.style (/home/<....>/code/<....>/node_modules/astroturf/loader.js:239:34)
    at Array.forEach (<anonymous>:null:null)
    at Promise.all.then (/home/<....>/code/<....>/node_modules/astroturf/loader.js:237:12)
Read more comments on GitHub >

github_iconTop Results From Across the Web

Webpack 5 release (2020-10-10)
Webpack 5 adds support for some CommonJs constructs, allows to eliminate unused CommonJs exports and track referenced export names from require ...
Read more >
facebook/create-react-app - Webpack 5 support overview
Overview of tasks needed for updating CRA to Webpack 5 - Some of the work will support both Webpack 4 + 5 but...
Read more >
What's New in Webpack 5 - Frontend Digest
In this article, we go over all the new features in version 5 and give you tips and trips on upgrading.
Read more >
Webpack 5 Adoption - Next.js
Improved Long Term Caching of Assets: Deterministic code output that is less likely to change between builds; Improved Tree Shaking; Support for assets...
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 >

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