-
-
Notifications
You must be signed in to change notification settings - Fork 9.1k
Closed
Description
Bug report
What is the current behavior?
If the current behavior is a bug, please provide the steps to reproduce.
I have code like this:
import Class from "@namespace/package";
export default class extends Class {}
After updated to webpack v5.101.0
it throws me a run-time error, that extends
operator expects function as parameter.
console.log( Class )
shows undefined
value.
This problem introduced in v5.101.0
, in the previous release v5.100.2
no errors detected.
I have no ides how to debug this.
Do you have any suggestions?
What is the expected behavior?
I am expecting that module will be imported and default export will be accessible.
Other relevant information:
webpack version: v5.101.0
Node.js version: v22.18.0
Operating System: Windows
Additional tools:
Metadata
Metadata
Assignees
Labels
No labels