frontend-collective / frontend-collective/react-sortable-tree
"TypeError: Super expression must either be null or a function" only in production build
- Dominant language
- JavaScript
- Stars
- 5k
- Forks
- 914
- PR merge metrics
- No merged PRs in 30d
Description
When I create a production build, I get the issue "TypeError: Super expression must either be null or a function" and the whole application breaks. As it only happens in production builds its hard to debug.
Here some screenshots from the issue stack:



Here the important versions I am using:
"react": "16.13.1",
"react-dom": "16.13.1",
"react-sortable-tree": "^2.8.0",
"webpack": "4.35.3"
Thanks for your help, I am trying to figure out the source of the issue since days but cant find it.
I think its source is within react-dnd in combination with webpack...
Thanks
Pascal
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.