-
-
Notifications
You must be signed in to change notification settings - Fork 59
Closed
Description
I have noticed that if I create a react single-spa application with create-single-spa it will setup my project with webpack-dev-server v4.0.0-beta.0.
If I modify package.json so that webpack-dev-server is the LTS like e.g. 3.11.2 it stops working with the error
Uncaught Error: application '@qmfe/sspa-react2' died in status LOADING_SOURCE_CODE: "does not export a unmount function or array of functions"
at transformErr (app-errors.js:87)
at handleAppError (app-errors.js:6)
at load.js:113
BUT, if I modify the webpack.config.js and add target: ['web'] it works again. Just a heads up that's the case. Maybe it should be used instead of a beta.
Metadata
Metadata
Assignees
Labels
No labels