Closed
Description
- Create a new single-spa application
- Update all dependencies to latest (including webpack)
- Start the project with the start script (notice the 8080 port)
- Open the single-spa playground in the browser with the devtools open, notice all kinds of webpack-dev-server errors
When I change the start script to contain a port (start": "webpack serve --port 8080"), everything works again.
It has probably something to do with the fixes in webpack-cli/serve as seen in the changelog: https://github.com/webpack/webpack-cli/blob/master/packages/serve/CHANGELOG.md
My workaround would probably be to add a static port to all my single-spa applications/libraries, but if this issue can't be solved without that, I guess an option to set a static port should be added to the creation wizard of create-single-spa.
Metadata
Metadata
Assignees
Labels
No labels