Skip to content

Fix compat with configuring the devserver server as a string #1327

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 5, 2024

Conversation

stof
Copy link
Member

@stof stof commented Sep 4, 2024

webpack-dev-server supports providing a string when only the type needs to be configured. Our code checking the type to detect the usage of https was not properly handling such configuration.

webpack-dev-server supports providing a string when only the type needs
to be configured. Our code checking the type to detect the usage of
`https` was not properly handling such configuration.
@stof stof requested a review from Kocal September 4, 2024 13:24
@stof
Copy link
Member Author

stof commented Sep 4, 2024

This has been detected by the typescript type checker as it now knows the type of devServerConfig thanks to the work done in #818

@stof stof merged commit 2b10db0 into symfony:main Sep 5, 2024
28 checks passed
@stof stof deleted the devserver_string_server branch September 5, 2024 07:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants