Vue 3 and webpack 5 - Error: "module property was removed from Dependency"

Viewed 5633

Using webpack 5 to build vue projects throws the error: "Error: module property was removed from Dependency"

My understanding is webpack have removed a monkey-patch that vue is relying on.: https://github.com/webpack/webpack/issues/8537

What options are there for resolving this error?

2 Answers

For now a workaround will be just to downgrade to version 4 (package.json)

    "webpack": "^4.42.0",
Related