TypeError: Super expression must either be null after react package

in the react project, an error occurred when entering a page after being packaged with webpack into the production environment: TypeError: Super expression must either be null or a function, not undefined

clipboard.png
but there are no errors in the development environment

Rich text editor is used in the project. It should be the problem here to make sure that the getCompositeDecorator function appears in the plug-in react-draft-wysiwyg. React version 16.4.2

the webpack configuration for production and development is basically the same, but the production only uses extractTextPlugin to separate and compress the css code.
question 1. Is there a good way to solve this mistake?
question how to skip the compression of the react-draft-wysiwyg plug-in when compressing files with 2.webpack?

Aug.10,2021

is judged only by the error prompt: for a certain value, null, or function must be set. That is to say, there is a variable or property that you have not initialized.
which variable is specific? check out the information you gave


have you solved


Hello, have you solved


the same question, how to solve

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bfb44f-32251.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bfb44f-32251.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?