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.

Support webpack@5

See original GitHub issue

Version

16.0.0-alpha.3

Reproduction link

https://github.com/vankop/vue-next-webpack-preview

Steps to reproduce

This already done for vue-loader@15, will be great to do this for next branch as well

What is expected?

build completed

What is actually happening?

Error: Cannot find module ‘webpack/lib/RuleSet’ here

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:8
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

6reactions
sodateacommented, Nov 9, 2020

Both v15 (for Vue 2) & v16 (for Vue 3) have supported webpack 5, and corresponding tests have been added. So I’m closing this issue.

6reactions
skjnldsvcommented, Nov 7, 2020

Hello! 👋 What about vue 2.x.x support on webpack 5 ? It seems it doesn’t work for me with vue-loader@next 😞

Edit, hum, it actually seems to work with vue-loader@^15.0.0 😸

Read more comments on GitHub >

github_iconTop Results From Across the Web

webpack
webpack is a module bundler. Its main purpose is to bundle JavaScript files for usage in a browser, yet it is also capable...
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 >
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 >
Getting Started With Webpack - Smashing Magazine
Modern browsers provide good support for JavaScript modules, but module bundlers such as webpack stay a critical part of the JavaScript ...
Read more >
create react app - Webpack 5 support for SharedWorkers?
I faced with the same problem, what works for me is to put the worker.js file under the public folder, and then this...
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